https://github.com/Microsoft/TypeScript

sort by:
Revision Author Date Message Commit Date
e9ca314 Ensure ts.Promise interface is based on the global Promise interface 08 October 2019, 20:25:44 UTC
4d0d010 Add shim for ES Promise 07 October 2019, 23:41:46 UTC
01b3d41 Add external mapShim/debug modules (#33712) * Add external mapShim/debug modules * rename test file 07 October 2019, 20:31:07 UTC
154793a Update user baselines (#33838) Node node, new baseline 07 October 2019, 19:53:26 UTC
09a87b9 'amd' missing from error message for error TS1323 (#33803) 'amd' missing from error message for error TS1323 07 October 2019, 14:12:31 UTC
afe6f4c Merge pull request #33821 from microsoft/fix33806 Reflect control flow effects of optional chains in equality checks 06 October 2019, 00:48:53 UTC
d552675 Merge pull request #33825 from mrnugget/patch-1 Change link to tutorial in README 05 October 2019, 20:20:06 UTC
99cec3a Accept new baselines 05 October 2019, 20:08:39 UTC
f885181 Add tests 05 October 2019, 20:08:31 UTC
f7b22a0 Support typeof and instanceof 05 October 2019, 20:08:24 UTC
88b833e Change link to tutorial in README The tutorial that was previously linked to doesn't show up in the sidebar of typescriptlang.org/docs/ anymore. The "TypeScript in 5 minutes" tutorial is essentially the same tutorial, but does show up in the sidebar and the docs overview. By linking to this, the user that clicks through knows where they end up on the docs page, instead of being lost on the "Quick Tutorial" that they can't find again, except through this README. 05 October 2019, 04:53:09 UTC
464d1a7 Accept new baselines 04 October 2019, 23:12:53 UTC
42500d0 Add tests 04 October 2019, 23:12:44 UTC
27d9dbe Update user baselines (#33817) 04 October 2019, 23:06:17 UTC
7d32355 Accept new baselines 04 October 2019, 23:01:27 UTC
2447bd7 Update tests 04 October 2019, 23:01:09 UTC
719b779 Reflect CFA effects of optional chains in equality checks 04 October 2019, 22:27:32 UTC
7aea377 LEGO: Merge pull request 33820 LEGO: Merge pull request 33820 04 October 2019, 22:11:06 UTC
c7fc36f LEGO: check in for master to temporary branch. 04 October 2019, 22:10:38 UTC
a47ac63 Fix for incorrect 'this' type for optional call (#33799) 04 October 2019, 20:39:42 UTC
e9b464e Update user baselines (#33816) 04 October 2019, 19:39:12 UTC
cc28464 Update user baselines (#33801) 04 October 2019, 18:23:26 UTC
e2b4c12 Detect unbindable exports before setting CommonJS module indicator (#33784) * Detect unbindable exports before setting CommonJS module indicator * Fix comment * Fix unrelated lint? 04 October 2019, 16:52:38 UTC
8fb50ba Merge pull request #33804 from a-tarasyuk/feature/update-eslint update eslint, fix eslint @typescript-eslint/no-unnecessary-type-assertion errors 04 October 2019, 16:50:17 UTC
a3da2e7 update eslint. fix eslint @typescript-eslint/no-unnecessary-type-assertion errors 04 October 2019, 08:00:24 UTC
d9d3e31 'amd' missing from error message for error TS1323 04 October 2019, 07:21:14 UTC
3c794e9 Update user baselines (#33775) 03 October 2019, 22:11:50 UTC
c164d3d LEGO: Merge pull request 33793 LEGO: Merge pull request 33793 03 October 2019, 22:10:51 UTC
161e64f LEGO: check in for master to temporary branch. 03 October 2019, 22:10:21 UTC
acf7aee Add template .vscode/* settings, ignore real ones (#33758) * Add LKG as typescript.tsdk * Add template settings, ignore real ones * Add note to CONTRIBUTING.md 03 October 2019, 17:27:06 UTC
903a6c9 LEGO: Merge pull request 33789 LEGO: Merge pull request 33789 03 October 2019, 16:10:49 UTC
9d04313 LEGO: check in for master to temporary branch. 03 October 2019, 16:10:22 UTC
54aab85 LEGO: Merge pull request 33782 LEGO: Merge pull request 33782 03 October 2019, 10:10:49 UTC
8cfb38e LEGO: check in for master to temporary branch. 03 October 2019, 10:10:20 UTC
98458f2 LEGO: Merge pull request 33776 LEGO: Merge pull request 33776 03 October 2019, 04:10:51 UTC
32d08c9 LEGO: check in for master to temporary branch. 03 October 2019, 04:10:22 UTC
dd62000 Update user baselines (#33773) 03 October 2019, 00:15:30 UTC
f23add7 Update user baselines (#33772) 03 October 2019, 00:07:04 UTC
c774762 Fix crash in transformations (#33768) 02 October 2019, 23:13:32 UTC
58854a6 Revert old lkg and re lkg (#33769) * Revert "Update LKG (#33710)" This reverts commit 29becf05012bfa7ba20d50b0d16813971e46b8a6. * Re-accept LKG with API with breaking typeArguments change removed 02 October 2019, 23:01:59 UTC
a8bea77 Backfill TypeReference.typeArguments in the API (#33714) 02 October 2019, 21:50:12 UTC
08aaf6a Update user baselines (#33740) 02 October 2019, 20:39:22 UTC
eb037f5 LEGO: Merge pull request 33759 LEGO: Merge pull request 33759 02 October 2019, 16:10:48 UTC
8c96949 LEGO: check in for master to temporary branch. 02 October 2019, 16:10:21 UTC
6b881ee LEGO: Merge pull request 33745 LEGO: Merge pull request 33745 02 October 2019, 10:10:51 UTC
e196b66 LEGO: check in for master to temporary branch. 02 October 2019, 10:10:20 UTC
a3a55ca Improve error message when reserved word is used as identifier (#33702) Improve error message when reserved word is used as identifier 01 October 2019, 20:20:28 UTC
29becf0 Update LKG (#33710) 01 October 2019, 20:17:17 UTC
410ff90 Fix the third crash in the chrome user suite test by remembering to pass excludeThisKeyword (#33711) 01 October 2019, 20:14:23 UTC
20f42f4 Merge pull request #33709 from microsoft/moveMessageNumbers Move error codes to appropriate section 01 October 2019, 19:37:23 UTC
526ed52 Ensure prepend texts are set when skipping internals (#33694) 01 October 2019, 19:33:17 UTC
e4d77f8 Update baselines. 01 October 2019, 19:30:37 UTC
933065b Change error codes. 01 October 2019, 19:18:01 UTC
a04f1eb Better error message for mistaken import (#33706) Better error message for mistaken import 01 October 2019, 19:12:29 UTC
6b63c1b Rename this function so it stops shadowing a local we use elsewhere (#33692) 01 October 2019, 17:37:53 UTC
03a3589 Better error message for mistaken import (#40) Issue number of the reported bug or feature request: microsoft#13601 01 October 2019, 16:27:38 UTC
8292af1 LEGO: Merge pull request 33705 LEGO: Merge pull request 33705 01 October 2019, 16:10:57 UTC
453007d LEGO: check in for master to temporary branch. 01 October 2019, 16:10:23 UTC
2d96a16 Merge pull request #33681 from microsoft/autoTypeReference Fix issue when types installed after watch/editor is opened for auto type reference that is for global types not being detected 01 October 2019, 15:28:08 UTC
ab87993 Improve error message when reserved word is used as identifier Signed-off-by: Sergey Tychinin <stychinin@bloomberg.net> 01 October 2019, 14:48:17 UTC
7be7cba Fixes binding well known symbol assignment via element access (#33687) * Fix binding well-known symbols by element access * Add navigationBar test * Revert settings.json change * Accept baselines * Actually make it bind * Accept API baselines * Dont use internal name in API 30 September 2019, 23:14:07 UTC
7c50bcc nullish coalescing commit (#32883) * migrate nullish coalescing commit * add more test case * add branch type check test * add more tests * fix nullish precedence * update public api * add rescan question question token to fix regression * update public api baseline * Added tests that emit for nullish coalescing operator conforming with grammar restrictions when assertions are used. * Fixed emit to hoist temporary variables (they previously went undeclared). Added tests to ensure calls and property accesses are only called once. * use not equal to null * rename factory * add grammar check * fix more cases * Fix handling of nullish coalescing oprator in expando objects. * Fixed classifier to support ?? operator. * update baseline * accept baseline * fix review * update emitter and more testcase * update control flow * make linter happy * update libs * avoid unnecessary assert * fix typooo * Fixes for control-flow analysis 30 September 2019, 22:33:50 UTC
6bd3b21 fix (lib): Loosen predicate return types of typed arrays, adapt docs (#31343) fixes #31472 30 September 2019, 22:26:39 UTC
9a7fdad Fix crash in contextual typing of defaulted element access declarations (#33686) 30 September 2019, 21:42:55 UTC
98cf317 Add error message for set accessor vsibility issues (#33683) 30 September 2019, 20:12:40 UTC
f89de95 Allow special element access assignments to create declarations (#33537) * Start enabling element access special assignment * Treat element access assignment as special assignment in JS * Make declarations for bindable element access expressions * Fix navigationBar crash * Add multi-level test for JS * Propagate element access expressions to more code paths * Fix property access on `this` * Add quick info test * Uhhh I guess this is fine * Fix module["exports"] and property access chained off element access * Add test for this property assignment * Add test for and fix prototype property assignment * Fix teeeest??? * Update APIs * Fix element access declarations on `this` * Fix go-to-definition * Add declaration emit to tests * Reconcile with late-bound symbol element access assignment * Fix baselines * Add JS declaration back to tests * Fix JS declaration emit of non-late-bound string literal property names * Revert accidental auto-format * Use `isAccessExpression` * Add underscore escaping member to test * Fix and test navBar changes 30 September 2019, 20:08:44 UTC
053388d Merge pull request #33584 from orta/small_ts Creates a smaller build of TypeScript which just has the language services 30 September 2019, 19:52:57 UTC
fcd9334 Add support for Optional Chaining (#33294) * Add support for Optional Chaining * Add grammar error for invalid tagged template, more tests * Prototype * PR feedback * Add errors for invalid assignments and a trailing '?.' * Add additional signature help test, fix lint warnings * Fix to insert text for completions * Add initial control-flow analysis for optional chains * PR Feedback and more tests * Update to control flow * Remove mangled smart quotes in comments * Fix lint, PR feedback * Updates to control flow * Switch to FlowCondition for CFA of optional chains * Fix ?. insertion for completions on type variables * Accept API baseline change * Clean up types * improve control-flow debug output * Revert Debug.formatControlFlowGraph helper 30 September 2019, 19:33:28 UTC
7ce793c Merge pull request #33678 from microsoft/fix33617 Property handle recursive type references in type inference 30 September 2019, 18:15:27 UTC
7f3c03d Implement declaration emit for accessors in the js declaration emitter (#33649) * Implement declaration emit for accessors in the js declaration emitter * Use `or` 30 September 2019, 18:09:35 UTC
ff5d38a Merge pull request #33622 from microsoft/fix33580 Error when assertion function calls aren't CFA'd 30 September 2019, 17:57:26 UTC
1a614a2 Fix issue when types installed after watch/editor is opened for auto type reference that is for global types not being detected Fixes #32285 30 September 2019, 16:58:33 UTC
2a4d267 Accept new baselines 30 September 2019, 16:28:26 UTC
46bdded Add regression tests 30 September 2019, 16:28:19 UTC
ed497c4 Properly handle recursive type references in type inference 30 September 2019, 15:54:02 UTC
4c4a683 Merge branch 'small_ts' of https://github.com/orta/TypeScript into small_ts 30 September 2019, 12:41:56 UTC
c64af5e Remove the post-publish script 30 September 2019, 12:29:16 UTC
e5af71e Accept new baselines 27 September 2019, 22:23:57 UTC
34f6e68 Update tests 27 September 2019, 22:23:49 UTC
56e0c6b Accept new baselines 27 September 2019, 22:20:03 UTC
02395a9 Fix error message 27 September 2019, 22:17:49 UTC
20e2be1 Merge pull request #33642 from microsoft/undoListFiles Undo showing redirected files in --listFiles 27 September 2019, 22:10:24 UTC
4648d6a Revise error messages + related spans + no errors on never-returning functions 27 September 2019, 22:05:13 UTC
c80d565 Enable forceConsistentCasingInFileNames by default in newly generated configs (#39) (#33614) *Issue number of the reported bug or feature request: #17542* **Describe your changes** Enabled `forceConsistentCasingInFileNames` in newly generated `tsconfig.json`s created by `tsc --init`. **Testing performed** The configuration option changed in the related tests. **Additional context** n/a Signed-off-by: Prakash Lalwani <plalwani4@bloomberg.net> 27 September 2019, 21:42:30 UTC
49a52d0 Merge pull request #33636 from microsoft/rootReferenceRedirect Fix the issue when file is attached to project because its a root file name but program contains instead its d.ts 27 September 2019, 21:36:08 UTC
c283809 Update user baselines (#33635) 27 September 2019, 21:33:05 UTC
f713668 Undo showing redirected files in --listFiles 27 September 2019, 21:26:38 UTC
2938168 Support some late-bound special property assignments (#33220) * Support some late-bound special property assignments * Integrate PR feedback * PR feedback * Enable declaration on core tests * Specialize type of binary expression used for late binding, speculative fix to navigation bar, merge check and type for elem/property accesses * Add test showing current nav bar behavior (specifically the lack thereof) 27 September 2019, 20:54:50 UTC
304fcee Updated: Only auto-import from package.json (#32517) * Move package.json related utils to utilities * Add failing test * Make first test pass * Don’t filter when there’s no package.json, fix scoped package imports * Use type acquisition as a heuristic for whether a JS project is using node core * Make same fix in getCompletionDetails * Fix re-exporting * Change JS node core module heuristic to same-file utilization * Remove unused method * Remove other unused method * Remove unused triple-slash ref * Update comment * Refactor findAlias to forEachAlias to reduce iterations * Really fix re-exporting * Use getModuleSpecifier instead of custom hack * Fix offering auto imports to paths within node modules * Rename things and make comments better * Add another reexport test * Inline `symbolHasBeenSeen` * Simplify forEachAlias to findAlias * Add note that symbols is mutated * Symbol order doesn’t matter here * Style nits * Add test with nested package.jsons * Fix and add tests for export * re-exports * Don’t fail when alias isn’t found * Make some easy optimizations * Clean up memoization when done * Remove unnecessary semicolon * Make getSymbolsFromOtherSourceFileExports pure * Cache auto imports * Revert "Cache auto imports" This reverts commit 8ea482958786aba0185b4b1b0497d6658ffbc385. * Handle merged symbols through cache * Be safer with symbol declarations, add logging * Improve cache invalidation for imports and exports * Check symbol presence first * Only run cache invalidation logic if there’s something to clear * Consolidate cache invalidation logic * Fix reuseProgramStructure test * Add more logging * Only clear cache if symbols are different * Refactor ambient module handling * Start caching package.json stuff * Support package.json searching in fourslash * Move import suggestions cache to Project * Start making more module specifier work available without having the importing file * Going to backtrack some from here * Get rid of dumb cache, fix node core modules stuff * Start determining changes to a file have invalidated its own auto imports * Move package.json related utils to utilities * Add failing test * Make first test pass * Don’t filter when there’s no package.json, fix scoped package imports * Use type acquisition as a heuristic for whether a JS project is using node core * Make same fix in getCompletionDetails * Fix re-exporting * Change JS node core module heuristic to same-file utilization * Remove unused method * Remove other unused method * Remove unused triple-slash ref * Update comment * Refactor findAlias to forEachAlias to reduce iterations * Really fix re-exporting * Use getModuleSpecifier instead of custom hack * Fix offering auto imports to paths within node modules * Rename things and make comments better * Add another reexport test * Inline `symbolHasBeenSeen` * Simplify forEachAlias to findAlias * Add note that symbols is mutated * Symbol order doesn’t matter here * Style nits * Add test with nested package.jsons * Fix and add tests for export * re-exports * Don’t fail when alias isn’t found * Make some easy optimizations * Clean up memoization when done * Remove unnecessary semicolon * Make getSymbolsFromOtherSourceFileExports pure * Cache auto imports * Revert "Cache auto imports" This reverts commit 8ea482958786aba0185b4b1b0497d6658ffbc385. * Handle merged symbols through cache * Be safer with symbol declarations, add logging * Improve cache invalidation for imports and exports * Check symbol presence first * Only run cache invalidation logic if there’s something to clear * Consolidate cache invalidation logic * Fix reuseProgramStructure test * Add more logging * Only clear cache if symbols are different * Refactor ambient module handling * Finish(?) sourceFileHasChangedOwnImportSuggestions * Make package.json info model better * Fix misplaced paren * Use file structure cache for package.json detection when possible * Revert unnecessary changes in moduleSpecifiers * Revert more unnecessary changes * Don’t watch package.jsons inside node_modules, fix tests * Work around declaration emit bug * Sync submodules? * Delete unused type * Add server cache tests * Fix server fourslash editing * Fix packageJsonInfo tests * Add node core modules cache test and fix more fourslash * Clean up symlink caching * Improve logging * Function name doesn’t make any sense anymore * Move symlinks cache to host * Fix markFileAsDirty from ScriptInfo * Mark new Project members internal * Use Path instead of fileName * Rename AutoImportSuggestionsCache * Improve WatchType description * Remove entries() from packageJsonCache * Fix path/fileName bug * Also cache symlinks on Program for benefit of d.ts emit * Let language service use Program’s symlink cache 27 September 2019, 20:38:31 UTC
558ece7 Add support for capturing cpu profiles into tsc itself (#33586) * Add support for capturing cpu profiles into tsc itself * Accept baseline for new compiler option in showConfig * Fix lints * Support profiling build mode, only ever have one live profiling session * Minor modification to enable/disable semaphore, accept re-cased baseline * Add pid into autognerated cpuprofile path * Rename to fix case * Sanitize filepaths in emitted cpuprofile for easier adoption by enterprise people, add inspector to browser field 27 September 2019, 20:34:44 UTC
8d7fd2e Respect //@ts-nocheck in TS files (#33383) 27 September 2019, 19:06:05 UTC
a34fdb2 Better template literals support in checker (#32064) * Support template literals in enum declarations * Support template literals in const enum access * Support template literals in swith with typeof narrowing * Support template literals in element access discriminant * Support template literals in ambient module declaration * Unify symbols for template literals in computed properties * Unify expression position checks for template literals * Support template literals in rename and find all references * Mark computed properties with template literals as write access * Inline startsWithQuote 27 September 2019, 19:04:13 UTC
8e4f47c Fix the issue when file is attached to project because its a root file name but program contains instead its d.ts Fixes #33323 27 September 2019, 16:00:29 UTC
1c24e27 Add the test that fails with find all references 27 September 2019, 16:00:29 UTC
c0573c5 Prevent collision of imported type with exported declarations in current module (#31231) * check for exported type name for conflict * refactor baseline tests for import/export name collision 27 September 2019, 14:55:04 UTC
a13f862 Handle alias symbols in getTypeOfDottedName 27 September 2019, 00:24:14 UTC
e72937d Update DOM (#33627) * Update DOM * Update baselines 27 September 2019, 00:20:05 UTC
b4941f6 Merge pull request #33625 from m-henderson/mh/33603-error-message-for-missing-member Better error message for missing member in tslib 26 September 2019, 23:22:41 UTC
b183b7f Merge branch 'master' into mh/33603-error-message-for-missing-member 26 September 2019, 22:30:25 UTC
64683a1 update message, generate diagnostics, update src and accept baselines 26 September 2019, 22:15:35 UTC
back to top