https://github.com/Microsoft/TypeScript

sort by:
Revision Author Date Message Commit Date
84d1de7 Update LKG. 31 October 2018, 20:27:42 UTC
0f5b74a Bump version to 3.1.5. 31 October 2018, 20:22:59 UTC
7b59753 Use same condition in isReferencedAliasDeclaration as isAliasResolvedToValue (#28171) (#28219) 30 October 2018, 18:19:05 UTC
9733858 Update LKG. 29 October 2018, 21:48:37 UTC
626303e Bump to 3.1.4. 29 October 2018, 21:48:20 UTC
83c38f3 Merge pull request #28106 from minestarks/configure-plugins configurePlugins command for tsserver 29 October 2018, 20:56:51 UTC
9bb87ec Accept baselines 29 October 2018, 19:44:14 UTC
db914d8 Add test for configurePlugin 27 October 2018, 00:53:05 UTC
4273fd7 configurePlugins command for tsserver Implements #18604 26 October 2018, 18:54:09 UTC
2cd9eba 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 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 Update LKG. 11 October 2018, 23:17:08 UTC
86d53d2 Update version to 3.1.3. 11 October 2018, 23:06:57 UTC
8f3561f Merge pull request #27671 from uniqueiniquity/portAsyncFixes Port async fixes 11 October 2018, 20:10:21 UTC
cd1803f Make RenameInfo a union (#27382) (#27392) 11 October 2018, 18:57:01 UTC
1a78981 Use safe some function to handle undefined declarations (fixes #27338) (#27698) 11 October 2018, 16:24:58 UTC
22260d3 importFixes: Skip alias when testing isTypeOnlySymbol (#27674) (#27696) 10 October 2018, 23:48:09 UTC
1998d68 Revert lodash.d.ts baseline (#27675) 10 October 2018, 20:18:59 UTC
7c6a14e Insert async keyword as last modifier 09 October 2018, 23:04:04 UTC
045c73a Issue #27301: Fixed crash when converting function to async (#27396) 09 October 2018, 23:03:51 UTC
59e556b convertToAsyncFunction: Use ReadonlyArray / ReadonlyMap where possible 09 October 2018, 23:03:25 UTC
ec0cfab Update LKG 09 October 2018, 17:39:52 UTC
8038e14 Update patch version to .2 09 October 2018, 17:39:39 UTC
1d773a1 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 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 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 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 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 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 Update LKG. 26 September 2018, 17:48:19 UTC
53105b3 Fix crash in use-before-def checking of enum tag (#27350) 25 September 2018, 23:06:23 UTC
29dbbff Update LKG. 25 September 2018, 18:02:10 UTC
005d202 Bump version to 3.1.1 25 September 2018, 17:54:24 UTC
6d1bd97 Merge pull request #27324 from RyanCavanaugh/3.1-lkg-update 3.1 LKG update 25 September 2018, 17:43:23 UTC
c1fb0e1 Merge remote-tracking branch 'upstream/release-3.1' into 3.1-lkg-update 24 September 2018, 23:36:45 UTC
feda0c7 Merge pull request #27330 from Microsoft/fixTypesVersionsFourslashTest Fixes the completionForStringLiteralNonrelativeImport13 test 24 September 2018, 23:36:19 UTC
33b4900 Fixes the completionForStringLiteralNonrelativeImport13 test 24 September 2018, 23:15:30 UTC
0437425 3.1 LKG update 24 September 2018, 22:14:09 UTC
0f17681 Merge pull request #27248 from Microsoft/release-3.1_fileToRename_tsserver Ensure session passes along fileToRename 24 September 2018, 21:02:31 UTC
fc1abbb Fix non-selfclosing JSX tag contextual types (#27251) (#27314) 24 September 2018, 20:51:07 UTC
dd9d5d1 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 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 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 Distribute indexes of indexed access types first (#27243) 21 September 2018, 00:13:35 UTC
aa2dd4d Add release-3.1 to covered branches (#27253) 20 September 2018, 23:57:16 UTC
93f6b73 Set parent pointers on manufactured reference for property initialization check (#27246) 20 September 2018, 23:54:46 UTC
a521461 Ensure session passes along fileToRename 20 September 2018, 23:44:40 UTC
9103191 Merge pull request #27205 from Microsoft/master Merge `master` into `release-3.1` 18 September 2018, 23:04:09 UTC
90d3f8b Only report expando use-before-def for identical control flow containers (#27199) 18 September 2018, 22:28:16 UTC
089b86a 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 Merge branch 'master' into projectReferenceInputDetection 18 September 2018, 21:34:24 UTC
865b3e7 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 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 Ensure all the usages of compilerOptions.declaration take into account compilerOptions.composite if needed. 18 September 2018, 20:53:16 UTC
c57ff08 Add codefix to generate types for untyped module (#26588) 18 September 2018, 18:47:29 UTC
0d5aeee Detect the input file of referenced project with fileNames from parsed command Fixes #25864 and #26054 18 September 2018, 18:44:16 UTC
7852cf7 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 Merge pull request #27188 from uniqueiniquity/miscAsyncFixes Miscellaneous async code fix fixes 18 September 2018, 17:53:26 UTC
4009d16 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 Update test name 18 September 2018, 17:26:12 UTC
b484370 Clean up for type precision and clarity 18 September 2018, 16:34:08 UTC
6adb9d1 Merge pull request #27157 from Microsoft/fixEmptyObjectFalsiness Fix empty object falsiness 18 September 2018, 16:26:24 UTC
e40ce24 Merge pull request #27156 from uniqueiniquity/promisesAndUnderscores Async code fix issues concerning underscores and nested promises 18 September 2018, 15:34:16 UTC
c0eb742 Merge branch 'master' into fixEmptyObjectFalsiness 18 September 2018, 13:28:27 UTC
5b5af23 use getEmitDeclarations helper 18 September 2018, 11:46:42 UTC
d111178 allow using declarationDir with composite option 18 September 2018, 11:38:48 UTC
c510df1 deny using allowJs option with composite 18 September 2018, 09:41:30 UTC
d51b8d9 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 Add traceResolution option to build options 18 September 2018, 01:48:57 UTC
83fe1ea Merge pull request #27170 from weswigham/fix-build-assert Implement readDirectory on the watch mode CompilerHost 18 September 2018, 01:47:14 UTC
e7cf999 Implement readDirectory on the watch mode CompilerHost 18 September 2018, 01:02:59 UTC
f6321bf 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 Merge branch 'master' into promisesAndUnderscores 17 September 2018, 23:43:08 UTC
b2378ca Stop adding name of function being fixed and update baseline 17 September 2018, 23:33:32 UTC
577ee49 Merge pull request #27139 from ajafff/config-extends fix getExtendedConfig in commandLineParser 17 September 2018, 23:29:16 UTC
76b0b2f Add test 17 September 2018, 23:23:52 UTC
a73b561 Ensure name for callback is generated even when it has no args 17 September 2018, 23:23:47 UTC
ba76a84 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 Merge pull request #26851 from ajafff/assert-compilerhost-readdirectory Assert CompilerHost.readDiretory for projectReferences with include 17 September 2018, 23:13:08 UTC
59e4770 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 Stop creating empty identifier name 17 September 2018, 22:53:15 UTC
e90679c Add baseline 17 September 2018, 22:52:59 UTC
1a3ff45 Respond to CR 17 September 2018, 22:44:08 UTC
e3026b0 Merge pull request #27155 from Microsoft/fixIncrementalWatchProjectWithReferences Fix incremental watch when project built has project references 17 September 2018, 22:34:40 UTC
cfd0a62 When renaming module, ensure rename span is just the last component of the path (#27151) 17 September 2018, 22:26:41 UTC
4e3e8f5 convertToAsyncFunction: Reduce casts in getTransformationBody (#27158) 17 September 2018, 22:23:44 UTC
a55c0b7 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 Improve indexed access inferences (#27015) 17 September 2018, 22:19:11 UTC
bc709a8 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 Merge pull request #26866 from NMinhNguyen/allowSyntheticDefaultImports-if-esModuleInterop Enable allowSyntheticDefaultImports if esModuleInterop is enabled 17 September 2018, 22:03:28 UTC
fc54a2c Include triggerSpan in protocol.RenameInfo (#27160) 17 September 2018, 22:00:41 UTC
830b387 No longer specially recognize underscore and update baselines 17 September 2018, 21:34:31 UTC
cd5b9fa Update user baselines (#27141) 17 September 2018, 21:19:01 UTC
bfc0093 Fix bug: Get mapped location of definition for findAllReferencesFull (#27113) 17 September 2018, 21:14:55 UTC
c9f1902 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 Accept new baselines 17 September 2018, 20:02:01 UTC
eb06af1 Add tests 17 September 2018, 20:01:53 UTC
989a717 Definite assignment checking for expando properties (#27128) 17 September 2018, 19:56:39 UTC
a5fd3e9 Handle out and outFile options correctly in tsbuild 17 September 2018, 19:46:10 UTC
f71030f Simply override extendedSourceFiles array 17 September 2018, 19:24:26 UTC
back to top