84d1de7 | Daniel Rosenwasser | 31 October 2018, 20:27:42 UTC | Update LKG. | 31 October 2018, 20:27:42 UTC |
0f5b74a | Daniel Rosenwasser | 31 October 2018, 20:21:34 UTC | Bump version to 3.1.5. | 31 October 2018, 20:22:59 UTC |
7b59753 | Wesley Wigham | 30 October 2018, 18:19:05 UTC | Use same condition in isReferencedAliasDeclaration as isAliasResolvedToValue (#28171) (#28219) | 30 October 2018, 18:19:05 UTC |
9733858 | Daniel Rosenwasser | 29 October 2018, 21:48:37 UTC | Update LKG. | 29 October 2018, 21:48:37 UTC |
626303e | Daniel Rosenwasser | 29 October 2018, 21:48:20 UTC | Bump to 3.1.4. | 29 October 2018, 21:48:20 UTC |
83c38f3 | Mine Starks | 29 October 2018, 20:56:51 UTC | Merge pull request #28106 from minestarks/configure-plugins configurePlugins command for tsserver | 29 October 2018, 20:56:51 UTC |
9bb87ec | Mine Starks | 29 October 2018, 19:44:14 UTC | Accept baselines | 29 October 2018, 19:44:14 UTC |
db914d8 | Mine Starks | 27 October 2018, 00:50:10 UTC | Add test for configurePlugin | 27 October 2018, 00:53:05 UTC |
4273fd7 | Mine Starks | 24 October 2018, 17:35:09 UTC | configurePlugins command for tsserver Implements #18604 | 26 October 2018, 18:54:09 UTC |
2cd9eba | Nathan Shively-Sanders | 24 October 2018, 20:03:29 UTC | Fix tests for node 11 (#28108) 1. Sort is now stable in node 11, which exposed a lack in the sorting of nested ranges. Ranges now sort based on last ending if the start positions are the same. This means nested ranges sort the containing range first, even if a range contains another range that starts at the same position. 2. Symbol has a new member description which can't be accessed through the prototype. In addition, Array now has flat and flatMap, which I excluded to keep baselines the same between Node 6-11. | 24 October 2018, 20:18:45 UTC |
ca6e2e7 | Andy | 24 October 2018, 18:05:56 UTC | Fix bug: Ensure JSDoc type range is valid (#27343) (#28008) * Fix bug: Ensure JSDoc type range is valid * Have scanJsDocToken scan keywords (#27162) * Have scanJsDocToken scan keywords * Update API * Add 'no-unnecessary-type-assertion' tslint disables | 24 October 2018, 18:05:56 UTC |
45387b8 | Daniel Rosenwasser | 11 October 2018, 23:17:08 UTC | Update LKG. | 11 October 2018, 23:17:08 UTC |
86d53d2 | Daniel Rosenwasser | 11 October 2018, 23:06:57 UTC | Update version to 3.1.3. | 11 October 2018, 23:06:57 UTC |
8f3561f | Benjamin Lichtman | 11 October 2018, 20:10:21 UTC | Merge pull request #27671 from uniqueiniquity/portAsyncFixes Port async fixes | 11 October 2018, 20:10:21 UTC |
cd1803f | Andy | 11 October 2018, 18:57:01 UTC | Make RenameInfo a union (#27382) (#27392) | 11 October 2018, 18:57:01 UTC |
1a78981 | Andy | 11 October 2018, 16:24:58 UTC | Use safe some function to handle undefined declarations (fixes #27338) (#27698) | 11 October 2018, 16:24:58 UTC |
22260d3 | Andy | 10 October 2018, 23:48:09 UTC | importFixes: Skip alias when testing isTypeOnlySymbol (#27674) (#27696) | 10 October 2018, 23:48:09 UTC |
1998d68 | Andy | 10 October 2018, 20:18:59 UTC | Revert lodash.d.ts baseline (#27675) | 10 October 2018, 20:18:59 UTC |
7c6a14e | Benjamin Lichtman | 02 October 2018, 00:02:43 UTC | Insert async keyword as last modifier | 09 October 2018, 23:04:04 UTC |
045c73a | Dhruv Rajvanshi | 28 September 2018, 01:56:37 UTC | Issue #27301: Fixed crash when converting function to async (#27396) | 09 October 2018, 23:03:51 UTC |
59e556b | Andy Hanson | 18 September 2018, 17:15:50 UTC | convertToAsyncFunction: Use ReadonlyArray / ReadonlyMap where possible | 09 October 2018, 23:03:25 UTC |
ec0cfab | Ryan Cavanaugh | 09 October 2018, 17:39:52 UTC | Update LKG | 09 October 2018, 17:39:52 UTC |
8038e14 | Ryan Cavanaugh | 09 October 2018, 17:39:39 UTC | Update patch version to .2 | 09 October 2018, 17:39:39 UTC |
1d773a1 | Nathan Shively-Sanders | 08 October 2018, 19:56:03 UTC | Fix class/constructor-function merge (#27366) The check for prototype assignment on constructor functions assumes that the prototype property, if present, comes from an assignment declaration, such as: ```js SomeClass.prototype = { /* methods go here */ } ``` In this case, however, when class SomeClass and var SomeClass merge (because this is allowed), prototype is the synthetic property from class SomeClass, which has no valueDeclaration. The fix is to check that prototype has a valueDeclaration before checking whether the valueDeclaration is in fact a prototype-assignment declaration. | 08 October 2018, 19:56:03 UTC |
1cfab76 | Nathan Shively-Sanders | 08 October 2018, 17:01:04 UTC | Only functions can be constructor functions (#27369) `@constructor` put on anything incorrectly makes it a JS constructor. This is a problem for actual constructors, because getJSClassType doesn't work on actual classes. The fix is to make isJSConstructor require that its declaration is a function. | 08 October 2018, 17:01:04 UTC |
95dc1f2 | Nathan Shively-Sanders | 08 October 2018, 15:53:21 UTC | Fix name resolution of `exports` in JS (#27394) The ad-hoc name resolution rule for `exports` forgets to check the requested meaning. When `getTypeReferenceType` calls` resolveTypeReferenceName` with `Type` only in order to give an error when the program uses a value like a type, it is incorrectly able to resolve `exports` instead of producing an error. Then this incorrect symbol gets treated like an alias, which it isn't, causing the assert. The fix, for now, is to make resolution of `exports` check the requested meaning so that it only resolves when `Value` is requested. This makes the above code an error ("Cannot use the namespace 'exports' as a type."), but I think this is fine for a bug fix. We can decide later if `exports` should behave like other expandos and be a legal type reference. Note that the name actually does resolve correctly, so JS users will get the desired completions. They'll just have an error to suppress if they have checkJs on. | 08 October 2018, 15:53:21 UTC |
36e212b | Nathan Shively-Sanders | 05 October 2018, 22:41:09 UTC | Report circular JSDoc type references (#27404) JSDoc types references can often be to values, which can often be circular in ways that types tied to declarations cannot. I decided to create a separate property on SymbolLinks rather than reusing declaredType, although I'm not sure that's strictly required. | 05 October 2018, 22:41:09 UTC |
f23845a | Nathan Shively-Sanders | 27 September 2018, 23:11:46 UTC | Fix parent points in unreachable code (#27400) In the binder, unreachable code mistakenly skips the `bindJSDoc` call in `bindChildrenWorker`, which sets parent pointers. The fix is to call `bindJSDoc` in the case of unreachable code as well. | 27 September 2018, 23:11:46 UTC |
b77cb2a | Nathan Shively-Sanders | 26 September 2018, 17:54:26 UTC | Fix commonjs export= merging (#27368) I'm surprised we haven't seen more of this; I suspect it's because the mixed `module.exports=` + `export.foo=` pattern isn't that common. However, it'll happen any time that the exported symbol is unknown; getCommonJsExportEquals blithely clones unknownSymbol and proceeds to stick the `exports.foo=` properties onto it. This causes problems later, because the compiler checks for unknownSymbol with `===`. The fix is to not stick properties onto a clone of unknownSymbol. This makes the correct errors appear and removes the crash. | 26 September 2018, 17:54:26 UTC |
f4a643f | Daniel Rosenwasser | 26 September 2018, 17:48:19 UTC | Update LKG. | 26 September 2018, 17:48:19 UTC |
53105b3 | Nathan Shively-Sanders | 25 September 2018, 23:06:23 UTC | Fix crash in use-before-def checking of enum tag (#27350) | 25 September 2018, 23:06:23 UTC |
29dbbff | Daniel Rosenwasser | 25 September 2018, 18:02:10 UTC | Update LKG. | 25 September 2018, 18:02:10 UTC |
005d202 | Daniel Rosenwasser | 25 September 2018, 17:54:21 UTC | Bump version to 3.1.1 | 25 September 2018, 17:54:24 UTC |
6d1bd97 | Ryan Cavanaugh | 25 September 2018, 17:43:23 UTC | Merge pull request #27324 from RyanCavanaugh/3.1-lkg-update 3.1 LKG update | 25 September 2018, 17:43:23 UTC |
c1fb0e1 | Ryan Cavanaugh | 24 September 2018, 23:36:45 UTC | Merge remote-tracking branch 'upstream/release-3.1' into 3.1-lkg-update | 24 September 2018, 23:36:45 UTC |
feda0c7 | Ryan Cavanaugh | 24 September 2018, 23:36:19 UTC | Merge pull request #27330 from Microsoft/fixTypesVersionsFourslashTest Fixes the completionForStringLiteralNonrelativeImport13 test | 24 September 2018, 23:36:19 UTC |
33b4900 | Ron Buckton | 24 September 2018, 23:15:30 UTC | Fixes the completionForStringLiteralNonrelativeImport13 test | 24 September 2018, 23:15:30 UTC |
0437425 | Ryan Cavanaugh | 24 September 2018, 21:13:07 UTC | 3.1 LKG update | 24 September 2018, 22:14:09 UTC |
0f17681 | Ryan Cavanaugh | 24 September 2018, 21:02:31 UTC | Merge pull request #27248 from Microsoft/release-3.1_fileToRename_tsserver Ensure session passes along fileToRename | 24 September 2018, 21:02:31 UTC |
fc1abbb | Wesley Wigham | 24 September 2018, 20:51:07 UTC | Fix non-selfclosing JSX tag contextual types (#27251) (#27314) | 24 September 2018, 20:51:07 UTC |
dd9d5d1 | Wesley Wigham | 24 September 2018, 20:51:00 UTC | Limit the narrow-to-fresh rule added with boolean literals to only boolean literals (#27274) (#27319) * Remove the narrow-to-fresh rule added with boolean literals * Revert "Remove the narrow-to-fresh rule added with boolean literals" This reverts commit 9f96fe5da33f9297157b326c37680a964b23d7eb. * Only apply freshness to booleans for now * Add largeish example from issue * Should be AND not OR * Add minor improvements suggested by @ahejelsberg * Reorder conditional a bit | 24 September 2018, 20:51:00 UTC |
d715d83 | Ryan Cavanaugh | 21 September 2018, 20:25:40 UTC | Merge pull request #27254 from weswigham/port-distribution-fix Distribute indexes of indexed access types first (#27243) | 21 September 2018, 20:25:40 UTC |
c48de89 | Ryan Cavanaugh | 21 September 2018, 20:24:52 UTC | Merge pull request #27252 from weswigham/port-27246 Set parent pointers on manufactured reference for property initialization check (#27246) | 21 September 2018, 20:24:52 UTC |
317b2c2 | Wesley Wigham | 21 September 2018, 00:03:34 UTC | Distribute indexes of indexed access types first (#27243) | 21 September 2018, 00:13:35 UTC |
aa2dd4d | Wesley Wigham | 20 September 2018, 23:56:49 UTC | Add release-3.1 to covered branches (#27253) | 20 September 2018, 23:57:16 UTC |
93f6b73 | Wesley Wigham | 20 September 2018, 23:54:01 UTC | Set parent pointers on manufactured reference for property initialization check (#27246) | 20 September 2018, 23:54:46 UTC |
a521461 | Andy Hanson | 20 September 2018, 23:12:46 UTC | Ensure session passes along fileToRename | 20 September 2018, 23:44:40 UTC |
9103191 | Ryan Cavanaugh | 18 September 2018, 23:04:09 UTC | Merge pull request #27205 from Microsoft/master Merge `master` into `release-3.1` | 18 September 2018, 23:04:09 UTC |
90d3f8b | Nathan Shively-Sanders | 18 September 2018, 22:28:16 UTC | Only report expando use-before-def for identical control flow containers (#27199) | 18 September 2018, 22:28:16 UTC |
089b86a | Sheetal Nandi | 18 September 2018, 21:53:35 UTC | Merge pull request #27195 from Microsoft/projectReferenceInputDetection Detect the input file of referenced project with fileNames from parsed command line | 18 September 2018, 21:53:35 UTC |
3c6c32b | Sheetal Nandi | 18 September 2018, 21:34:24 UTC | Merge branch 'master' into projectReferenceInputDetection | 18 September 2018, 21:34:24 UTC |
865b3e7 | Sheetal Nandi | 18 September 2018, 21:33:33 UTC | Merge pull request #27172 from Microsoft/moduleResolutionWithOutDir Use originalFileName (fileName of input project reference file) to resolve module/typereferences/reference paths in it instead of output decl file path | 18 September 2018, 21:33:33 UTC |
86f8ab1 | Sheetal Nandi | 18 September 2018, 21:33:13 UTC | Merge pull request #27196 from Microsoft/declarationAndComposite Ensure all the usages of compilerOptions.declaration take into account compilerOptions.composite if needed | 18 September 2018, 21:33:13 UTC |
4c04725 | Sheetal Nandi | 18 September 2018, 20:16:25 UTC | Ensure all the usages of compilerOptions.declaration take into account compilerOptions.composite if needed. | 18 September 2018, 20:53:16 UTC |
c57ff08 | Andy | 18 September 2018, 18:47:29 UTC | Add codefix to generate types for untyped module (#26588) | 18 September 2018, 18:47:29 UTC |
0d5aeee | Sheetal Nandi | 18 September 2018, 18:44:16 UTC | Detect the input file of referenced project with fileNames from parsed command Fixes #25864 and #26054 | 18 September 2018, 18:44:16 UTC |
7852cf7 | Sheetal Nandi | 18 September 2018, 17:53:38 UTC | Merge pull request #27175 from a-tarasyuk/bug/error-using-declaration-dir-with-composite #26862: allow using declarationDir with composite option | 18 September 2018, 17:53:38 UTC |
cd28af0 | Benjamin Lichtman | 18 September 2018, 17:53:26 UTC | Merge pull request #27188 from uniqueiniquity/miscAsyncFixes Miscellaneous async code fix fixes | 18 September 2018, 17:53:26 UTC |
4009d16 | Sheetal Nandi | 18 September 2018, 17:53:10 UTC | Merge pull request #27176 from a-tarasyuk/bug/26786-no-error-when-using-allowjs-with-composite #26786: deny using allowJs option with composite | 18 September 2018, 17:53:10 UTC |
b850b3b | Benjamin Lichtman | 18 September 2018, 17:26:12 UTC | Update test name | 18 September 2018, 17:26:12 UTC |
b484370 | Benjamin Lichtman | 18 September 2018, 16:34:08 UTC | Clean up for type precision and clarity | 18 September 2018, 16:34:08 UTC |
6adb9d1 | Anders Hejlsberg | 18 September 2018, 16:26:24 UTC | Merge pull request #27157 from Microsoft/fixEmptyObjectFalsiness Fix empty object falsiness | 18 September 2018, 16:26:24 UTC |
e40ce24 | Benjamin Lichtman | 18 September 2018, 15:34:16 UTC | Merge pull request #27156 from uniqueiniquity/promisesAndUnderscores Async code fix issues concerning underscores and nested promises | 18 September 2018, 15:34:16 UTC |
c0eb742 | Anders Hejlsberg | 18 September 2018, 13:28:27 UTC | Merge branch 'master' into fixEmptyObjectFalsiness | 18 September 2018, 13:28:27 UTC |
5b5af23 | Alexander T | 18 September 2018, 11:46:42 UTC | use getEmitDeclarations helper | 18 September 2018, 11:46:42 UTC |
d111178 | Alexander T | 18 September 2018, 08:33:56 UTC | allow using declarationDir with composite option | 18 September 2018, 11:38:48 UTC |
c510df1 | Alexander T | 18 September 2018, 09:17:21 UTC | deny using allowJs option with composite | 18 September 2018, 09:41:30 UTC |
d51b8d9 | Sheetal Nandi | 18 September 2018, 01:24:12 UTC | Use originalFileName (fileName of input project reference file) to resolve module/typereferences/reference paths in it instead of output decl file path This also ensures that originalFileName, resolvedPath are set correctly even when we are reusing program structure Fixes #26036 | 18 September 2018, 02:00:30 UTC |
b6d9084 | Sheetal Nandi | 17 September 2018, 20:01:58 UTC | Add traceResolution option to build options | 18 September 2018, 01:48:57 UTC |
83fe1ea | Sheetal Nandi | 18 September 2018, 01:47:14 UTC | Merge pull request #27170 from weswigham/fix-build-assert Implement readDirectory on the watch mode CompilerHost | 18 September 2018, 01:47:14 UTC |
e7cf999 | Wesley Wigham | 18 September 2018, 01:02:59 UTC | Implement readDirectory on the watch mode CompilerHost | 18 September 2018, 01:02:59 UTC |
f6321bf | Wesley Wigham | 17 September 2018, 23:45:54 UTC | Elaborate into arrow return expressions and array types (#27040) * Dive into simple arrow functions when elaborating errors * Dive into array literals as though they were tuples when elaborating, if possible * Make parameter required * Remove misleading errors by deeply tuplefying * Remove lib related spans | 17 September 2018, 23:45:54 UTC |
0cb9fd6 | Benjamin Lichtman | 17 September 2018, 23:43:08 UTC | Merge branch 'master' into promisesAndUnderscores | 17 September 2018, 23:43:08 UTC |
b2378ca | Benjamin Lichtman | 17 September 2018, 23:33:32 UTC | Stop adding name of function being fixed and update baseline | 17 September 2018, 23:33:32 UTC |
577ee49 | Ryan Cavanaugh | 17 September 2018, 23:29:16 UTC | Merge pull request #27139 from ajafff/config-extends fix getExtendedConfig in commandLineParser | 17 September 2018, 23:29:16 UTC |
76b0b2f | Benjamin Lichtman | 17 September 2018, 23:23:52 UTC | Add test | 17 September 2018, 23:23:52 UTC |
a73b561 | Benjamin Lichtman | 17 September 2018, 23:23:47 UTC | Ensure name for callback is generated even when it has no args | 17 September 2018, 23:23:47 UTC |
ba76a84 | Ryan Cavanaugh | 17 September 2018, 23:23:34 UTC | Merge pull request #26935 from ajafff/abstract-baseclass-property Error accessing abstract property in constructor of abstract subclass | 17 September 2018, 23:23:34 UTC |
8ca01df | Ryan Cavanaugh | 17 September 2018, 23:13:08 UTC | Merge pull request #26851 from ajafff/assert-compilerhost-readdirectory Assert CompilerHost.readDiretory for projectReferences with include | 17 September 2018, 23:13:08 UTC |
59e4770 | Nathan Shively-Sanders | 17 September 2018, 23:06:17 UTC | Fix enum tag circular references (#27161) * Fix enum tag circular references Also, don't try to resolve enum tag types in Typescript. * Improve comment | 17 September 2018, 23:06:17 UTC |
0995869 | Benjamin Lichtman | 17 September 2018, 22:53:15 UTC | Stop creating empty identifier name | 17 September 2018, 22:53:15 UTC |
e90679c | Benjamin Lichtman | 17 September 2018, 22:52:59 UTC | Add baseline | 17 September 2018, 22:52:59 UTC |
1a3ff45 | Benjamin Lichtman | 17 September 2018, 22:44:08 UTC | Respond to CR | 17 September 2018, 22:44:08 UTC |
e3026b0 | Sheetal Nandi | 17 September 2018, 22:34:40 UTC | Merge pull request #27155 from Microsoft/fixIncrementalWatchProjectWithReferences Fix incremental watch when project built has project references | 17 September 2018, 22:34:40 UTC |
cfd0a62 | Andy | 17 September 2018, 22:26:41 UTC | When renaming module, ensure rename span is just the last component of the path (#27151) | 17 September 2018, 22:26:41 UTC |
4e3e8f5 | Andy | 17 September 2018, 22:23:44 UTC | convertToAsyncFunction: Reduce casts in getTransformationBody (#27158) | 17 September 2018, 22:23:44 UTC |
a55c0b7 | Wesley Wigham | 17 September 2018, 22:19:23 UTC | Allow drawing inferences to conditional type branches (#27012) * Allow drawing inferences to conditional type branches * Fix lint | 17 September 2018, 22:19:23 UTC |
c3b4f72 | Wesley Wigham | 17 September 2018, 22:19:11 UTC | Improve indexed access inferences (#27015) | 17 September 2018, 22:19:11 UTC |
bc709a8 | Andy | 17 September 2018, 22:14:09 UTC | Fix bug where array element is undefined (#26433) * Fix bug where array element is undefined * Better fix | 17 September 2018, 22:14:09 UTC |
a5326e6 | Ryan Cavanaugh | 17 September 2018, 22:03:28 UTC | Merge pull request #26866 from NMinhNguyen/allowSyntheticDefaultImports-if-esModuleInterop Enable allowSyntheticDefaultImports if esModuleInterop is enabled | 17 September 2018, 22:03:28 UTC |
fc54a2c | Andy | 17 September 2018, 22:00:41 UTC | Include triggerSpan in protocol.RenameInfo (#27160) | 17 September 2018, 22:00:41 UTC |
830b387 | Benjamin Lichtman | 17 September 2018, 21:34:31 UTC | No longer specially recognize underscore and update baselines | 17 September 2018, 21:34:31 UTC |
cd5b9fa | TypeScript Bot | 17 September 2018, 21:19:01 UTC | Update user baselines (#27141) | 17 September 2018, 21:19:01 UTC |
bfc0093 | Andy | 17 September 2018, 21:14:55 UTC | Fix bug: Get mapped location of definition for findAllReferencesFull (#27113) | 17 September 2018, 21:14:55 UTC |
c9f1902 | Nathan Shively-Sanders | 17 September 2018, 20:07:05 UTC | Fix non-toplevel prototype assignment (#27096) * Fix non-toplevel prototype assignment binder was using the wrong node to lookup the containing class type for prototype assignment, so it incorrectly put the prototype declaration on the class' symbol. This correction to the binder in turn required a change in getJSClassType in the checker. It now has to look at the "prototype" property for the prototype instead of looking on the class symbol's exports (which makes no sense). * Refactor per PR suggestion | 17 September 2018, 20:07:05 UTC |
17080eb | Anders Hejlsberg | 17 September 2018, 20:02:01 UTC | Accept new baselines | 17 September 2018, 20:02:01 UTC |
eb06af1 | Anders Hejlsberg | 17 September 2018, 20:01:53 UTC | Add tests | 17 September 2018, 20:01:53 UTC |
989a717 | Nathan Shively-Sanders | 17 September 2018, 19:56:39 UTC | Definite assignment checking for expando properties (#27128) | 17 September 2018, 19:56:39 UTC |
a5fd3e9 | Sheetal Nandi | 17 September 2018, 19:43:50 UTC | Handle out and outFile options correctly in tsbuild | 17 September 2018, 19:46:10 UTC |
f71030f | Klaus Meinhardt | 17 September 2018, 19:24:26 UTC | Simply override extendedSourceFiles array | 17 September 2018, 19:24:26 UTC |