sort by:
Revision Author Date Message Commit Date
787bb76 Bump version to 4.5.0-beta and LKG 01 October 2021, 21:10:31 UTC
a02a7ab Follow and respect export maps when generating module specifiers (#46159) * Follow and respect export maps when generating module specifiers * Type baseline updates from master merge 01 October 2021, 20:54:07 UTC
9ed49b6 LEGO: Merge pull request 46161 LEGO: Merge pull request 46161 01 October 2021, 17:13:58 UTC
1a000c8 Fix main (#46160) 01 October 2021, 16:50:00 UTC
ccc1909 Modify synthetic default generation code for dual-mode module resolution (#46156) 01 October 2021, 16:18:44 UTC
016d78b Allow for class static vars to be called static (#44813) * Allow for class static vars to be called static - re: #41127 * Add the baselines 01 October 2021, 13:28:08 UTC
95ef2a5 feat: display the tsconfig generated when running tsc --init (#45930) * feat: display the tsconfig generated when running tsc --init * fix: fix lint issues * refactor: minor changes 01 October 2021, 13:08:06 UTC
46a12fd fix(sourcemap): accept a sourceMappingURL that ends with a newline (#45983) * fix(sourcemap): accept a sourceMappingURL that ends with a newline * Update src/compiler/sourcemap.ts Co-authored-by: Wesley Wigham <wwigham@gmail.com> 01 October 2021, 12:16:05 UTC
cadd115 Update package-lock.json 01 October 2021, 06:06:44 UTC
612c92d Track source and target relationship stack depth seperately, only increase on change in value (#41821) * Track source and target relationship stack depth seperately, only increase on change in value * Add baselines for test from #43485 * Bail on unwrapping conditional constraints on the source side when the source conditional is already known to be spooling out of control * More usage of isDeeplyNestedType to block _specifically_ conditional recursion on only one side * Negative cases of getNarrowedType that match the exact type should be filtered out, even when generic * Add test and fix for #44404 * Swap to manually specifying left and right recursion * Rename Left -> Source, Right -> Target Co-authored-by: Andrew Branch <andrew@wheream.io> 30 September 2021, 23:58:40 UTC
96f259d Minimal fix for auto-importing node_modules in node12/nodenext (#46148) 30 September 2021, 20:42:06 UTC
d613748 fix(45919): allow using JSDoc types for arrow function with type predicate (#45952) 30 September 2021, 17:50:25 UTC
e0f436c feat(36080): forbid to use JSDoc visibility modifiers in private fields (#46056) 30 September 2021, 16:48:56 UTC
e4d9282 Update package-lock.json 30 September 2021, 06:06:47 UTC
2161e18 Add `module: es2022` (#44656) Closes #44653 30 September 2021, 00:44:57 UTC
5ec836d Fix issues + Support template literal types as discriminants (#46137) * Fix issues + Support template literal types in discriminants * Add tests * Address CR feedback 30 September 2021, 00:38:43 UTC
f09c5e8 LEGO: Merge pull request 46138 LEGO: Merge pull request 46138 29 September 2021, 23:13:38 UTC
e96c10f fix(26635): allow casts only when JSDoc type directly attached to an expression (#45960) 29 September 2021, 19:16:27 UTC
061f02c fix(44021): reference jsx pragma when JsxFragment is used (#45894) 29 September 2021, 18:31:59 UTC
5d0d7ae fix(45876): Remove "ascii character" order from docs for Float64Array.sort (#45883) * fix(45876): Do not specify ascii chracter order in docs for Float64Array.sort() when compareFn is omitted. * fix(45876): Do not specify ascii chracter order in docs for any TypedArray.sort() when compareFn is omitted. 29 September 2021, 18:05:01 UTC
8a2f5b2 fix(45999): show parameter inlay hints before initializer (#46040) 29 September 2021, 16:28:23 UTC
2667c60 Update parameter types of RegExp compile method (#46038) 29 September 2021, 16:27:21 UTC
0cd2330 LEGO: Merge pull request 46133 LEGO: Merge pull request 46133 29 September 2021, 11:15:22 UTC
fc4f9d8 Update package-lock.json 29 September 2021, 06:07:22 UTC
4c854e6 LEGO: Merge pull request 46126 LEGO: Merge pull request 46126 28 September 2021, 23:15:09 UTC
4cd3bb8 LEGO: Merge pull request 46117 LEGO: Merge pull request 46117 28 September 2021, 17:14:07 UTC
bdd321d LEGO: Merge pull request 46113 LEGO: Merge pull request 46113 28 September 2021, 11:15:13 UTC
075a7a8 Update package-lock.json 28 September 2021, 06:05:59 UTC
cdfc796 LEGO: Merge pull request 46108 LEGO: Merge pull request 46108 28 September 2021, 05:14:48 UTC
8d5c197 `keyof` should always include remapped keys (#45923) * Loosen check in getIndexTypeForMappedType to directly map property names when any indexy type is present * Handle homomorphic mappings better in keyof, add specific relationship rule for relating generic keyof MappedType to handle remapped keys * Remove trailing whitespace 28 September 2021, 02:10:02 UTC
530b0e2 Fix indexing error in guessDirectorySymlink (#46105) * Fix indexing error in guessDirectorySymlink * Add test 27 September 2021, 23:46:49 UTC
aabba1a LEGO: Merge pull request 46106 LEGO: Merge pull request 46106 27 September 2021, 23:14:06 UTC
72721d7 LEGO: check in for main to temporary branch. (#46093) 27 September 2021, 23:08:38 UTC
5512e91 LEGO: check in for main to temporary branch. (#46092) 27 September 2021, 23:08:27 UTC
4d26281 LEGO: check in for main to temporary branch. (#46091) 27 September 2021, 23:08:16 UTC
20be417 LEGO: check in for main to temporary branch. (#46090) 27 September 2021, 23:07:35 UTC
8fbfe5d LEGO: check in for main to temporary branch. (#46089) 27 September 2021, 23:07:26 UTC
7bcbf8c LEGO: check in for main to temporary branch. (#46088) 27 September 2021, 23:07:16 UTC
d6cd2c7 Updates the DOM APIs (#46080) * Updates the DOM APIs * Tests * Remove static abort(): AbortSignal 27 September 2021, 21:07:57 UTC
e160bc8 Type-only import specifiers (#45998) * Parse type-only import specifiers * Add type-only export specifiers * Update transform and emit * Update checking * Fix elision when combined with importsNotUsedAsValues=preserve * Accept baselines * Add test * WIP auto imports updates * First auto-imports test working * More auto-import tests * Fix auto imports of type-only exports * Add test for promoting type-only import * Sort import/export specifiers by type-onlyness * Update completions for `import { type |` * Update other completions tests * Respect organize imports sorting when promoting type-only to regular while adding a specifier * Fix comment mistakes * Update src/services/codefixes/importFixes.ts Co-authored-by: Daniel Rosenwasser <DanielRosenwasser@users.noreply.github.com> * Rearrange some order of assignments in parser * Split huge if statement * Remove redundant check * Update new transformer * Fix import statement completions * Fix type keyword completions good grief * Fix last tests Co-authored-by: Daniel Rosenwasser <DanielRosenwasser@users.noreply.github.com> 27 September 2021, 19:38:30 UTC
26aef89 Make `never` inferences with template literal types only in special cases (#46075) * Make 'never' inferences with template literal types only in special cases * Accept new baselines * Add regression test * Fix comment 27 September 2021, 13:47:47 UTC
4ce902c Update package-lock.json 27 September 2021, 06:09:08 UTC
0ca06ed LEGO: Merge pull request 46079 LEGO: Merge pull request 46079 27 September 2021, 05:13:42 UTC
d8701a2 LEGO: Merge pull request 46077 LEGO: Merge pull request 46077 26 September 2021, 23:14:05 UTC
2f0c607 Properly handle missingType in intersections (#46052) * Properly handle missingType in intersections * Add regression tests * Accept new baselines * Fix tests 26 September 2021, 21:13:42 UTC
2be3d45 LEGO: Merge pull request 46070 LEGO: Merge pull request 46070 26 September 2021, 17:13:35 UTC
7aa37fd LEGO: Merge pull request 46064 LEGO: Merge pull request 46064 26 September 2021, 11:15:59 UTC
f715af9 Update package-lock.json 26 September 2021, 06:06:13 UTC
da884d1 LEGO: Merge pull request 46060 LEGO: Merge pull request 46060 25 September 2021, 23:14:30 UTC
d518bdb LEGO: Merge pull request 46058 LEGO: Merge pull request 46058 25 September 2021, 17:13:51 UTC
9820a1d Update package-lock.json 25 September 2021, 06:06:18 UTC
586b0d5 `moduleResolution: node12` support (#45884) * Initial support for module: node12 * Add allowJs and declaration emit enabled tests * Fix typos * cts, mts, cjs, mjs, etc extension support * Fix watch of files whose intepretation changes due to a package.json update * Minor PR feedback * Adjust error message * Initial import/export/self-name support * Accept new error codes * TypesVersions support in export/import map conditions * Fix import suggestion and autoimport default extensions under new resolution modes * Add tests for import maps non-relative name lookup feature * Fix isDeclarationFileName for .d.mts and .d.cts * Preserve new extensions when generating module specifiers * Fix spurious implict any suggestion caused by file ordering bug and optimize import name format detection by relying on parents being set * Fix a bunch of incremental bugs that dont repro under fourslash for some reason * Accept updated baseline * Always include extensions on completions for cjs/mjs style imports * String completion relative import suggestions respect the mode of the import when choosing if they provide extensions * Style feedback * Change diagnostic case 24 September 2021, 21:25:59 UTC
12003e5 Default tsc --init to es2016 (#45934) 24 September 2021, 18:13:53 UTC
90e83ad Resolve with -lib in TypeScript lib node lookup (#46046) 24 September 2021, 16:46:29 UTC
27bbdf1 Transform JSX spread children (#45693) * Transform JSX spread children * Target es2015 to skip helper and refine emit Co-authored-by: Ron Buckton <ron.buckton@microsoft.com> Co-authored-by: Ron Buckton <ron.buckton@microsoft.com> Co-authored-by: Orta <git@orta.io> 24 September 2021, 16:19:49 UTC
af689cc ES private field check (#44648) * es private fields in in (#52) add support for the 'private-fields-in-in' TC39 proposal Signed-off-by: Ashley Claymore <acutmore@users.noreply.github.com> * [fixup] include inToken when walking forEachChild(node, cb) * [squash] re-accept lib definition baseline changes * [squash] reduce if/else to ternary Signed-off-by: Ashley Claymore <acutmore@users.noreply.github.com> * [squash] drop 'originalName' and rename parameter instead Signed-off-by: Ashley Claymore <acutmore@users.noreply.github.com> * [squash] extend spelling suggestion to all privateIdentifiers Signed-off-by: Ashley Claymore <acutmore@users.noreply.github.com> * [squash] revert the added lexical spelling suggestions logic Signed-off-by: Ashley Claymore <acutmore@users.noreply.github.com> * [squash] update baseline Signed-off-by: Ashley Claymore <acutmore@users.noreply.github.com> * [squash] inline variable as per PR suggestion Signed-off-by: Ashley Claymore <acutmore@users.noreply.github.com> * [squash] test targets both esnext and es2020 as per PR comment Signed-off-by: Ashley Claymore <acutmore@users.noreply.github.com> * switch to using a binary expression Signed-off-by: Ashley Claymore <acutmore@users.noreply.github.com> * [squash] PrivateIdentifier now extends PrimaryExpression Signed-off-by: Ashley Claymore <acutmore@users.noreply.github.com> * [squash] accept public api baseline changes Signed-off-by: Ashley Claymore <acutmore@users.noreply.github.com> * [squash] classPrivateFieldInHelper now has documentation Signed-off-by: Ashley Claymore <acutmore@users.noreply.github.com> * [squash] type-check now follows existing in-expression path Signed-off-by: Ashley Claymore <acutmore@users.noreply.github.com> * [squash] parser now follows existing binaryExpression path Signed-off-by: Ashley Claymore <acutmore@users.noreply.github.com> * [squash] correct typo in comment Signed-off-by: Ashley Claymore <acutmore@users.noreply.github.com> * [squash] no longer use esNext flag Signed-off-by: Ashley Claymore <acutmore@users.noreply.github.com> * [squash] swap 'reciever, state' helper params Signed-off-by: Ashley Claymore <acutmore@users.noreply.github.com> * [squash] remove change to parenthesizerRules Signed-off-by: Ashley Claymore <acutmore@users.noreply.github.com> * [squash] apply suggested changes to checker Signed-off-by: Ashley Claymore <acutmore@users.noreply.github.com> * [squash] remove need for assertion in fixSpelling Signed-off-by: Ashley Claymore <acutmore@users.noreply.github.com> * [squash] improve comment hint in test Signed-off-by: Ashley Claymore <acutmore@users.noreply.github.com> * [squash] fix comment typos Signed-off-by: Ashley Claymore <acutmore@users.noreply.github.com> * [squash] add flow-test for Foo | FooSub | Bar Signed-off-by: Ashley Claymore <acutmore@users.noreply.github.com> * [squash] add checkExternalEmitHelpers call and new test case Signed-off-by: Ashley Claymore <acutmore@users.noreply.github.com> * [squash] simplify and correct parser Signed-off-by: Ashley Claymore <acutmore@users.noreply.github.com> * [squash] move most of the added checker logic to expression level Signed-off-by: Ashley Claymore <acutmore@users.noreply.github.com> * [squash] always error when privateId could not be resolved Signed-off-by: Ashley Claymore <acutmore@users.noreply.github.com> * [squash] reword comment Signed-off-by: Ashley Claymore <acutmore@users.noreply.github.com> * [squash] fix codeFixSpelling test Signed-off-by: Ashley Claymore <acutmore@users.noreply.github.com> * [squash] do less work Signed-off-by: Ashley Claymore <acutmore@users.noreply.github.com> * store symbol by priateId not binaryExpression Signed-off-by: Ashley Claymore <acutmore@users.noreply.github.com> * moved parsePrivateIdentifier into parsePrimaryExpression Signed-off-by: Ashley Claymore <acutmore@users.noreply.github.com> * [squash] checkInExpressionn bails out early on silentNeverType Signed-off-by: Ashley Claymore <acutmore@users.noreply.github.com> * [squash] more detailed error messages Signed-off-by: Ashley Claymore <acutmore@users.noreply.github.com> * [squash] resolves conflict in diagnosticMessages.json Signed-off-by: Ashley Claymore <acutmore@users.noreply.github.com> * [squash] update baseline for importHelpersES6 Signed-off-by: Ashley Claymore <acutmore@users.noreply.github.com> * [squash] remove redundent if and comment from parser Signed-off-by: Ashley Claymore <acutmore@users.noreply.github.com> * [squash] split up grammar/check/symbolLookup Signed-off-by: Ashley Claymore <acutmore@users.noreply.github.com> * [squash] reword message for existing left side of in-expression error Signed-off-by: Ashley Claymore <acutmore@users.noreply.github.com> 24 September 2021, 16:05:27 UTC
59fb373 Update package-lock.json 24 September 2021, 06:06:09 UTC
1b6c8fd fix(45607): add snippet for type only import statements (#45873) 23 September 2021, 23:13:17 UTC
61d2939 Adds more Intl.ResolvedDateTimeFormatOptions, and hooks up Intl for ES2021 (#45905) * Adds more ResolvedDateTimeFormatOptions to the Intl APIs * Fix tests 23 September 2021, 20:33:37 UTC
a4f9bf0 Create type aliases for unresolved type symbols (#45976) * Create type aliases for unresolved type symbols * Accept new baselines * Update fourslash tests * Unresolved import aliases create tagged unresolved symbols * Add comments * Accept new baselines * Add fourslash tests 23 September 2021, 20:21:27 UTC
0396723 Revert "Stop looking at binding patterns for type argument inference" (#46013) * Revert "Stop looking at binding patterns for type argument inference (#45719)" This reverts commit be618b1446ecd95590d5427259ba8337b4fe23d1. * Update error baseline for moved lib file declaration 23 September 2021, 16:26:51 UTC
efbce10 Update package-lock.json 23 September 2021, 06:06:09 UTC
4c0a51e Avoid Promise<Awaited<T>> in return type inference (#45925) 22 September 2021, 23:29:07 UTC
12f72ca LEGO: Merge pull request 46014 LEGO: Merge pull request 46014 22 September 2021, 23:14:11 UTC
24e3b6b Added Jsx Snippet Completion feature (#45903) * Added Jsx completion feature and tests * Renamed jsxSnippetCompletion to jsxAttributeCompletionStyle * Renamed tests files * Changed boolean filter * Escaped snippet 22 September 2021, 23:09:00 UTC
f0fe1b8 Make isDefinition aware of declaring symbol (#45920) * Make isDefinition aware of target symbol Initial code, haven't fixed any tests yet. * Update baselines This commit includes a regression for commonjs aliases: ```js // @filename: a.js function f() { } module.exports.f = f // @filename: b.js const { f } = require('./a') f/**/ ``` Now says that `f` in b.js has 1 reference -- the alias `module.exports.f = f`. This is not correct (or not exactly correct), but correctly fixing will involve re-creating the ad-hoc commonjs alias resolution code from the checker. I don't think it's worth it for an edge case like this. * update more unit tests * Fix symbol lookup for constructors * More baselines + two fixes 1. Fix `default` support. 2. Add a secondary declaration location for commonjs assignment declarations. * Update rest of baselines * Switch a few more tests over to baselines 22 September 2021, 20:43:52 UTC
110b059 Fix GH-32798: Allow == null to narrow unknown to null | undefined (#45853) * Fix GH-32798 * add assume true * Address Gabby comments * Address Gabby comments by adding Else branch 22 September 2021, 17:54:59 UTC
5a9e1af LEGO: Merge pull request 46008 LEGO: Merge pull request 46008 22 September 2021, 17:13:57 UTC
9f12799 LEGO: Merge pull request 46002 LEGO: Merge pull request 46002 22 September 2021, 11:15:23 UTC
6495544 Update package-lock.json 22 September 2021, 06:06:27 UTC
15722e6 Remove referenceGroups/noReferences from fourslash (#45988) * Remove referenceGroups/noReferences from fourslash I left most singleReferenceGroups because there were so many, and my current PR doesn't affect many of them. * update fourslash/server too * Explicitly sort keys Needed for node 10 compatibility * Revert "Explicitly sort keys" This reverts commit 1d1c58a4e3a13759d228297bceb3b7aabb891f97. It shouldn't be needed now that we're not testing with node 10 21 September 2021, 23:25:52 UTC
826b614 LEGO: Merge pull request 45997 LEGO: Merge pull request 45997 21 September 2021, 23:18:34 UTC
f30ab60 Update github workflows node10 -> node16 (#45996) 21 September 2021, 23:00:09 UTC
9b3ba87 fix(45987): fix pasring invalid names (#45994) 21 September 2021, 21:02:58 UTC
252620b LEGO: Merge pull request 45989 LEGO: Merge pull request 45989 21 September 2021, 17:13:58 UTC
3a8591b Fix const assertions on enums Fixes #45977 21 September 2021, 16:42:28 UTC
5546f20 Update package-lock.json 21 September 2021, 06:06:18 UTC
c6f9732 Fix typo in findAllReferences.ts (#45973) occurences -> occurrences 21 September 2021, 00:13:38 UTC
15a46bb fix(45489): add test to cover comparison operator with intersection type (#45936) 20 September 2021, 23:35:55 UTC
ec114b8 Import assertion (#40698) * Add parsing * fix all api * check gramma of import call * Add more part of assertion * Add some case * Add baseline * use module insted of target * strip assertion in d.ts * Update new baseline * accept baseline * Revert error number changes * Update diagnostic message * Accept baseline * rename path * Fix cr issues * Accept baseline * Accept baseline * Error if assertion and typeonly import * Accept baseline * Make lint happy * Add some comment * Fix cr issues * Fix more issue * Incorporate PR feedback, fix module resolution for import() * Add contextual type and completions for ImportCall options argument Co-authored-by: Ron Buckton <ron.buckton@microsoft.com> 20 September 2021, 21:15:22 UTC
5ef0439 fix(45802): keep children of mismatched jsx element (#45839) * fix(45802): keep children of mismatched jsx element * Apply suggestions from code review Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com> Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com> 20 September 2021, 14:19:55 UTC
78472ec Update package-lock.json 20 September 2021, 06:06:11 UTC
285c0e2 LEGO: Merge pull request 45947 LEGO: Merge pull request 45947 17 September 2021, 23:17:42 UTC
8346143 Fixed trimming comments on the remaining range (#45807) * Fixed trimming comments on the remaining range * Added test 17 September 2021, 21:00:04 UTC
3c27c3a LEGO: Merge pull request 45940 LEGO: Merge pull request 45940 17 September 2021, 17:19:02 UTC
3a4b19c LEGO: Merge pull request 45935 LEGO: Merge pull request 45935 17 September 2021, 11:18:16 UTC
dfc6d7c LEGO: Merge pull request 45931 LEGO: Merge pull request 45931 17 September 2021, 10:37:55 UTC
eda142e Update package-lock.json 17 September 2021, 06:06:23 UTC
b23f44a Simplify a branch of the Awaited type and clean up comments (#45918) 16 September 2021, 22:04:09 UTC
6aaefe4 Remove vestigial baselines (#45916) * Remove vestigial baselines * Update Baselines and/or Applied Lint Fixes * Add --quiet Co-authored-by: TypeScript Bot <typescriptbot@microsoft.com> 16 September 2021, 19:49:47 UTC
534fc14 fix(45850): Preserve const enums should keep import refs for exported const enums exported via named exports (#45858) 16 September 2021, 17:15:41 UTC
b2a6b49 LEGO: Merge pull request 45914 LEGO: Merge pull request 45914 16 September 2021, 17:13:44 UTC
b250f0c Fix main by using '.default' on the new ms release (#45910) * Fix main by using '.default' on the new ms release * Lock to v2 * Update v1 lockfile * Revert code change 16 September 2021, 16:52:54 UTC
f7a8002 Fix for resolvedTrueType and resolvedFalseType of conditionType not resolved (#45838) * Fix for Issue #45537 * tests/baselines/reference/* files updated 16 September 2021, 16:26:43 UTC
a4364dc Update pr_owners.txt (#45911) 16 September 2021, 16:20:00 UTC
4dde5cc Update package-lock.json 16 September 2021, 06:06:02 UTC
d16ece0 LEGO: Merge pull request 45904 LEGO: Merge pull request 45904 16 September 2021, 05:13:36 UTC
a42fcf2 LEGO: Merge pull request 45895 LEGO: Merge pull request 45895 15 September 2021, 23:13:23 UTC
add85e1 fix: add corresponding message for override error in js files (#45656) * fix: add override errors for js class members * fix: test failures of js override error message * update diagnostic messages * fix: test errors * fix: lint errors 15 September 2021, 22:19:58 UTC
b2f9432 Support resolving `@typescript/[lib]` in node modules (#45771) * Support resolving @typescript/x for libs * Baselines * Tightens up the PR * Fix the build * Add cache * Better naming * Fixes the lookup path 15 September 2021, 20:25:08 UTC
back to top