5aa2eb7 | Daniel Rosenwasser | 18 August 2020, 22:51:48 UTC | Add 'insiders'. | 18 August 2020, 22:53:40 UTC |
912cbdf | TypeScript Bot | 17 August 2020, 02:14:20 UTC | Update LKG | 17 August 2020, 02:14:20 UTC |
076db46 | TypeScript Bot | 17 August 2020, 02:01:12 UTC | Cherry-pick PR #40072 into release-4.0 (#40076) Component commits: 1582b76053 Revert "Add '(approximate)' to the beginning of quick info requests in PartialSemantic mode (#40061)" This reverts commit 2426eb4980d34c762e745cdb5062ca211e65f25e. Co-authored-by: Daniel Rosenwasser <drosen@microsoft.com> | 17 August 2020, 02:01:12 UTC |
c9c6cd2 | TypeScript Bot | 15 August 2020, 01:16:37 UTC | Bump version to 4.0.2 and LKG | 15 August 2020, 01:16:37 UTC |
5f5dac0 | Daniel Rosenwasser | 15 August 2020, 00:54:10 UTC | Add '(approximate)' to the beginning of quick info requests in PartialSemantic mode (#40061) * Add '(approximate)' to the beginning of quick info requests. * Use 'approximation' instead of 'approximate'. | 15 August 2020, 01:01:11 UTC |
1030455 | Sheetal Nandi | 14 August 2020, 00:08:20 UTC | Ensure file, include and exclude specs used are strings (#40041) * Test displaying failure when specs used are not strings * Ensure specs used are strings Fixes #38164, #39856 * Feedback | 14 August 2020, 23:59:19 UTC |
edaa8aa | Andrew Casey | 13 August 2020, 17:24:54 UTC | Merge pull request #39989 from amcasey/pinned-release-4.0 Pin dependencies in release branch | 13 August 2020, 17:24:54 UTC |
f88f306 | TypeScript Bot | 13 August 2020, 06:22:57 UTC | Update LKG | 13 August 2020, 06:22:57 UTC |
a192551 | TypeScript Bot | 13 August 2020, 03:45:52 UTC | Cherry-pick PR #40026 into release-4.0 (#40028) Component commits: 8f442baa3c Revert to including only open files in partial semantic server mode Co-authored-by: Sheetal Nandi <shkamat@microsoft.com> | 13 August 2020, 03:45:52 UTC |
6620b25 | TypeScript Bot | 12 August 2020, 07:10:04 UTC | 🤖 Pick PR #40005 (feat(40004): Missing Compiler API p...) into release-4.0 (#40015) * Cherry-pick PR #40005 into release-4.0 Component commits: fa1ed85593 feat(40004): make isNamedTupleMember public * Update LKG Co-authored-by: Alexander T <alexander.tarasyuk@outlook.com> Co-authored-by: typescript-bot <typescript@microsoft.com> | 12 August 2020, 07:10:04 UTC |
7558de6 | TypeScript Bot | 12 August 2020, 06:33:56 UTC | Cherry-pick PR #39702 into release-4.0 (#39985) Component commits: cd5dde5d79 Improve deprecated suggestion node position 6e39ee706e fix typo a593fd03fe Simplify code 58f6f3daf2 merge helper function Co-authored-by: kingwl <kingwenlu@gmail.com> | 12 August 2020, 06:33:56 UTC |
47c23aa | Andrew Casey | 11 August 2020, 01:02:58 UTC | Pin dependencies in release branch With this change, you can build the branch using `npm ci && npm run build`. | 11 August 2020, 01:02:58 UTC |
3055018 | TypeScript Bot | 07 August 2020, 17:40:44 UTC | Cherry-pick PR #39950 into release-4.0 (#39951) Component commits: 6e5d75b58b Use isUncalledFunctionReference for aliases too Fixes bogus deprecated notices on imports of functions with deprecated overloads, but with some non-deprecated overloads. Fixes microsoft/vscode#104238 e2eb319e72 Just check all declarations, don't call isUncalledFunction Co-authored-by: Nathan Shively-Sanders <nathansa@microsoft.com> | 07 August 2020, 17:40:44 UTC |
264d27e | TypeScript Bot | 06 August 2020, 17:37:28 UTC | 🤖 Pick PR #39937 (Handle empty package.json files) into release-4.0 (#39938) * Cherry-pick PR #39937 into release-4.0 Component commits: 0b9b321b0c Handle empty package.json files * Update LKG Co-authored-by: Andrew Branch <andrew@wheream.io> Co-authored-by: typescript-bot <typescript@microsoft.com> | 06 August 2020, 17:37:28 UTC |
071b649 | TypeScript Bot | 06 August 2020, 16:56:58 UTC | Cherry-pick PR #39932 into release-4.0 (#39933) Component commits: f53db98f88 Add missing 'importName' for private field helpers Co-authored-by: Ron Buckton <rbuckton@microsoft.com> | 06 August 2020, 16:56:58 UTC |
10bfb7c | TypeScript Bot | 05 August 2020, 21:37:43 UTC | 🤖 Pick PR #39883 (Renames in servermode per feedback) into release-4.0 (#39888) * Cherry-pick PR #39883 into release-4.0 Component commits: d320625392 Server mode renames as per feedback e8d798db59 More renames 508226eec3 Merge branch 'master' into serverModeRename * Update LKG Co-authored-by: Sheetal Nandi <shkamat@microsoft.com> Co-authored-by: typescript-bot <typescript@microsoft.com> | 05 August 2020, 21:37:43 UTC |
024a09b | TypeScript Bot | 05 August 2020, 05:30:59 UTC | Update LKG | 05 August 2020, 05:30:59 UTC |
eeea32b | Sheetal Nandi | 03 August 2020, 21:28:33 UTC | Handle the fact that noResolveResolution resolution is reused Fixes #39795 | 05 August 2020, 05:18:08 UTC |
1763b8e | TypeScript Bot | 04 August 2020, 07:29:17 UTC | Update LKG | 04 August 2020, 07:29:17 UTC |
d063105 | Daniel Rosenwasser | 04 August 2020, 07:14:24 UTC | Rename and use the default ref instead of having a `workflow_dispatch` option | 04 August 2020, 07:16:09 UTC |
4f02a04 | Daniel Rosenwasser | 04 August 2020, 07:05:24 UTC | Add an 'Update LKG' action (#39897) | 04 August 2020, 07:15:51 UTC |
7cf6184 | TypeScript Bot | 04 August 2020, 05:19:53 UTC | Cherry-pick PR #39889 into release-4.0 (#39890) Component commits: c3ac7fa2e7 Handle the fact that noResolveResolution resolution is reused Fixes #39795 Co-authored-by: Sheetal Nandi <shkamat@microsoft.com> | 04 August 2020, 05:19:53 UTC |
3a6dde0 | Nathan Shively-Sanders | 03 August 2020, 21:56:55 UTC | Make numeric Array constructors take ArrayLikeBuffer union PR #38449 changed the second overload of the constructor for Int8, Uint8, Int32, Uint32, Int16, Uint16, Float, Float64 -Array so that it no longer includes `ArrayBufferLike`. It's just `ArrayLike<number>`. This is fine except in the case that the caller provides exactly `ArrayLike<number> | ArrayBufferLike`. This PR adds ArrayBufferLike back so that the union is once again accepted. This avoids a breaking change, in particular in one Microsoft-internal codebase. | 03 August 2020, 23:57:29 UTC |
5463606 | Daniel Rosenwasser | 03 August 2020, 05:18:50 UTC | Update LKG. | 03 August 2020, 05:18:50 UTC |
fe74f34 | Daniel Rosenwasser | 03 August 2020, 05:14:17 UTC | Bump version to 4.0.1-rc. | 03 August 2020, 05:14:17 UTC |
e141dd1 | Daniel Rosenwasser | 03 August 2020, 05:12:42 UTC | Merge branch 'master' into release-4.0 | 03 August 2020, 05:12:42 UTC |
7e93035 | csigs | 03 August 2020, 04:11:41 UTC | LEGO: Merge pull request 39868 LEGO: Merge pull request 39868 | 03 August 2020, 04:11:41 UTC |
b092fb3 | csigs | 03 August 2020, 04:10:44 UTC | LEGO: check in for master to temporary branch. | 03 August 2020, 04:10:44 UTC |
aee78ac | Sheetal Nandi | 03 August 2020, 01:18:26 UTC | Add separate flag serverMode for server mode (#39735) * Add separate flag serverMode for server mode to allow back compatibility * Addressed code review feedback. Co-authored-by: Daniel Rosenwasser <DanielRosenwasser@users.noreply.github.com> | 03 August 2020, 01:18:26 UTC |
86a87c4 | Andrew Branch | 03 August 2020, 00:47:49 UTC | Limit auto import provider project size (#39855) * Limit auto import provider project size * Add test * Make option configurable * Fix test * Only bail when setting is auto * Fix other test * Update API baseline | 03 August 2020, 00:47:49 UTC |
9498978 | Wesley Wigham | 01 August 2020, 01:25:37 UTC | In JS declaration emit, move imports painted in nested contexts to the root private context (#39818) * In JS declaration emit, move imports painted in nested contexts to the root private context * Add test for nathan | 01 August 2020, 01:25:37 UTC |
1b97d03 | TypeScript Bot | 31 July 2020, 22:06:29 UTC | Update user baselines (#39502) Co-authored-by: typescript-bot <typescript@microsoft.com> | 31 July 2020, 22:06:29 UTC |
d3877d2 | Nathan Shively-Sanders | 30 July 2020, 21:58:22 UTC | Redo in narrowing for intersections (#39637) * Redo in-narrowing for intersections Still need to carve out an exception for globalThis * exempt globalThis from `in` narrowing | 30 July 2020, 21:58:22 UTC |
32934a9 | Ron Buckton | 30 July 2020, 19:27:34 UTC | Merge pull request #39824 from microsoft/fix35484 Allow assignments to a narrowable reference to be considered narrowable | 30 July 2020, 19:27:34 UTC |
7119e2b | Andrew Branch | 30 July 2020, 18:37:04 UTC | The iteration type of overloaded iterator signatures derives from the intersection of their return types (#39722) | 30 July 2020, 18:37:04 UTC |
315b5f4 | Ron Buckton | 30 July 2020, 18:13:58 UTC | PR Feedback | 30 July 2020, 18:13:58 UTC |
faf128d | Orta Therox | 30 July 2020, 17:56:14 UTC | Fix formatting scanner on JSX text that looks like trivia (#39718) * Fix formatting scanner on JSX text that looks like trivia * Combine if statements Co-authored-by: Andrew Branch <andrew@wheream.io> | 30 July 2020, 17:56:14 UTC |
bffe354 | mshivaku99 | 30 July 2020, 17:45:29 UTC | Issue35876: Give better error message when Classic Module Resolution with incorrect path (#38105) * added Error 5084 to diagnosticMessages.json * added test case errorForBareSpecifierWithImplicitModuleResolution1 to tests/cases/compiler * modified checker.ts to report error 5084 when classic resolution and incorrect path are used * added baseline changes * passes all test cases including src/testRunner/unittests/ tests * Update with feedback * Make it check whether it is the right module resolution kind * Use the right diagnostic message in tsserver tests Co-authored-by: Meera Shivakumar <mshivaku@umich.edu> Co-authored-by: Orta <git@orta.io> | 30 July 2020, 17:45:29 UTC |
a320e1b | Eli Barzilay | 29 July 2020, 15:41:58 UTC | Make `getLocalSymbolForExportDefault` look harder for an export Look for a symbol that has a `.localSymbol` property instead of blindly using the first one. Fixes #37829. | 30 July 2020, 17:09:21 UTC |
b601487 | Micah Zoltu | 30 July 2020, 12:51:50 UTC | Updates Uint8ArrayConstructor to match MDN documentation. (#38449) * Updates Uint8ArrayConstructor to match MDN documentation. https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array/Uint8Array ``` new Uint8Array(); // new in ES2017 new Uint8Array(length); new Uint8Array(typedArray); new Uint8Array(object); new Uint8Array(buffer [, byteOffset [, length]]); ``` While the previous constructors aren't significantly different from the new, it would prevent someone from doing `new Uint8Array(myBuffer, undefined, undefined)` since there was no overload that accepted undefined as a second parameter and buffer as first. Fixes #38446 * Fixes constructor defenition for all other typed arrays. * Renames property to `array` since it is no longer an `arrayOrBuffer`. | 30 July 2020, 12:51:50 UTC |
21963ce | Ron Buckton | 30 July 2020, 01:41:05 UTC | Restore reference change | 30 July 2020, 01:41:05 UTC |
4c90ba9 | Ron Buckton | 30 July 2020, 01:13:27 UTC | Temporary revert to compare user test baselines | 30 July 2020, 01:13:27 UTC |
bae111f | Alexander T | 30 July 2020, 00:25:13 UTC | fix(39245): change related diagnostic for missing rest parameter arguments (#39356) Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com> | 30 July 2020, 00:25:13 UTC |
b9db641 | Ron Buckton | 29 July 2020, 23:37:11 UTC | Allow assignments to a narrowable reference to be considered narrowable | 29 July 2020, 23:37:25 UTC |
9b2d487 | Nathan Shively-Sanders | 29 July 2020, 21:11:59 UTC | Fix this-parameter emit for JSDocFunction types (#39814) * Fix this parameter emit for JSDocFunction types Previously, parameters with names that were not `new` were treated like rest parameters. This is incorrect: parameters with the name `this` should emit a `this` parameter. Fixes #38550 * :heart: quote style | 29 July 2020, 21:11:59 UTC |
f2d1531 | Eli Barzilay | 29 July 2020, 19:32:52 UTC | Fix location for duplicate function implementation errors Use only the relevant declarations (by collecting them in the for loop), and use `declaration` if `getNameOfDeclaration` didn't work (useful for `export default` with anonymous functions). Fixes #39804. Also, use `nodeIsPresent` once, and a random `?.`. | 29 July 2020, 20:07:00 UTC |
c66b690 | Andrew Casey | 29 July 2020, 17:43:59 UTC | Merge pull request #39792 from amcasey/OverloadErrors4 Reduce unnecessary error computation | 29 July 2020, 17:43:59 UTC |
2f3b835 | Andrew Casey | 28 July 2020, 21:37:18 UTC | Merge pull request #39794 from amcasey/Mocha4 Move off deprecated mocha types | 28 July 2020, 21:37:18 UTC |
189a6d7 | Andrew Casey | 27 July 2020, 21:29:19 UTC | Move off deprecated mocha types | 28 July 2020, 21:04:29 UTC |
03b6580 | Nathan Shively-Sanders | 28 July 2020, 20:49:42 UTC | Make @enum,@this tag construction stricter (#39791) The type expression is required, so the type should reflect that. | 28 July 2020, 20:49:42 UTC |
2480458 | Andrew Casey | 27 July 2020, 21:11:24 UTC | Reduce unnecessary error computation ...during overload resolution. Based on a trace that was spending 30% of a (very slow) overload resolution elaborating errors that were then dropped. | 28 July 2020, 20:03:31 UTC |
8f04f91 | Andrew Branch | 28 July 2020, 19:53:56 UTC | Add diagnostic info to getNameForExportedSymbol crash (#39790) * Add diagnostic info to getNameForExportedSymbol crash * Add JS indicator | 28 July 2020, 19:53:56 UTC |
79e2ed2 | Andrew Casey | 28 July 2020, 17:35:22 UTC | Merge pull request #39776 from amcasey/OverloadErrors Reduce unnecessary error computation | 28 July 2020, 17:35:22 UTC |
1f1521c | Andrew Branch | 27 July 2020, 23:55:59 UTC | Undo accidental change from #39772 (#39779) * Undo accidental change * Delete test | 27 July 2020, 23:55:59 UTC |
68ba670 | Andrew Branch | 27 July 2020, 22:14:47 UTC | Add contextual type for generator return type (#39772) * WIP * Add contextual type for generator return type | 27 July 2020, 22:14:47 UTC |
5b2b70b | Andrew Casey | 27 July 2020, 21:54:14 UTC | Merge pull request #39774 from amcasey/Mocha Move off deprecated mocha types | 27 July 2020, 21:54:14 UTC |
6318cc6 | Andrew Casey | 27 July 2020, 21:29:19 UTC | Move off deprecated mocha types | 27 July 2020, 21:29:19 UTC |
195fad2 | Andrew Casey | 27 July 2020, 21:11:24 UTC | Reduce unnecessary error computation ...during overload resolution. Based on a trace that was spending 30% of a (very slow) overload resolution elaborating errors that were then dropped. | 27 July 2020, 21:11:24 UTC |
48e58f4 | Sheetal Nandi | 24 July 2020, 23:37:28 UTC | Handle unresolved baseType when trying to get completions for static member (#39731) * Handle unresolved baseType when trying to get completions for static member Fixes #38067 * Update src/services/completions.ts Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com> * correct the condition Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com> | 24 July 2020, 23:37:28 UTC |
c5d21e7 | Anders Hejlsberg | 24 July 2020, 22:00:53 UTC | Lower priority for speculative variadic tuple inferences (#39723) * Inference to [...T, X?] has lower priority than inference to [...T, X] * Update tests * Accept new API baselines | 24 July 2020, 22:00:53 UTC |
823b69a | Sheetal Nandi | 24 July 2020, 20:33:25 UTC | Fixes slow nav to issue by keeping project with result. (#39721) Also cache the result of config file name for open files Fixes #38491 | 24 July 2020, 20:33:25 UTC |
73b268e | Wesley Wigham | 23 July 2020, 22:43:48 UTC | Use new octokit API method in review request script (#39719) | 23 July 2020, 22:43:48 UTC |
2fb0436 | csigs | 22 July 2020, 22:11:58 UTC | LEGO: Merge pull request 39706 LEGO: Merge pull request 39706 | 22 July 2020, 22:11:58 UTC |
7c5ed71 | csigs | 22 July 2020, 22:10:54 UTC | LEGO: check in for master to temporary branch. | 22 July 2020, 22:10:54 UTC |
ec33814 | Andrew Branch | 22 July 2020, 20:53:30 UTC | Make AutoImportProviderProject work with symlinked monorepos (#39679) * Hack everything together * Add test * Remove realpath from program * Ensure symlinked directories are directories * Revert unnecessary change * Update baselines * Use host program realpath on AutoImportProviderProject files before program creation * Which fixes hasRoots() too * Apply suggestions from code review Co-authored-by: Sheetal Nandi <shkamat@microsoft.com> * Lint Co-authored-by: Sheetal Nandi <shkamat@microsoft.com> | 22 July 2020, 20:53:30 UTC |
312a6f0 | Wesley Wigham | 22 July 2020, 18:59:16 UTC | Add a fastpath for comparing common mapped types like Pick which avoids manufacturing intermediate type identities (#39696) | 22 July 2020, 18:59:16 UTC |
b834096 | Andrew Branch | 22 July 2020, 17:31:42 UTC | Fix emit/formatting issues in refactors (#39506) * Fix #37948 * Fix formatter skipping tab/space fixup on comments, handle trailing commas in list closing line count. Fixes #37944 * Add newline between imports and main body of new file in moveToNewFile Fixes #37941 * Update baseline (probably broken before?) | 22 July 2020, 17:31:42 UTC |
e76d172 | Song | 22 July 2020, 16:30:21 UTC | Fix 38219: signature helper works for optional function condition. (#39672) * fix optional fuction condition. * Adds a test Co-authored-by: Orta <git@orta.io> | 22 July 2020, 16:30:21 UTC |
8a05707 | Song | 22 July 2020, 16:26:17 UTC | Fix 31995: make cached key more precise to avoid returning wrong cached value. (#39670) * fix 31995 * revert useless change only for debug. * add test | 22 July 2020, 16:26:17 UTC |
294a040 | Song | 22 July 2020, 15:28:29 UTC | not escape unicode char for import path string. (#39463) * not escape unicode char for import path string. * fix test. | 22 July 2020, 15:28:29 UTC |
34adaaf | Sheetal Nandi | 21 July 2020, 22:02:10 UTC | Support loading of child project if found project is not pure solution has some of its own files and project references (#39613) * Use disableReferencedProjectLoad to stop loading child projects to allow users to disable loading large solutions Fixes #39144 * Handle indirect references * Support loading of child project if found project is not pure solution has some of its own files and project references Fixes #38605 * Fix grammar | 21 July 2020, 22:02:10 UTC |
e92afac | Sheetal Nandi | 21 July 2020, 21:24:15 UTC | Add disableReferencedProjectLoad to stop loading child projects to allow users to disable loading large solutions (#39593) * Use disableReferencedProjectLoad to stop loading child projects to allow users to disable loading large solutions Fixes #39144 * Handle indirect references * PR feedback | 21 July 2020, 21:24:15 UTC |
5484687 | Song | 21 July 2020, 17:51:27 UTC | switch typeof any could be checked for unreachable (#39389) * switch typeof any could be checked for unreachable * fix stupid error * support unknown * remvoe use less code. * fix spelling. | 21 July 2020, 17:51:27 UTC |
d897646 | Song | 21 July 2020, 16:40:25 UTC | fix 39453 (#39579) * fix 39453 * add restriction. * add tests * comment. * fix as suggestion. | 21 July 2020, 16:40:25 UTC |
56865f7 | csigs | 21 July 2020, 04:11:42 UTC | LEGO: Merge pull request 39682 LEGO: Merge pull request 39682 | 21 July 2020, 04:11:42 UTC |
ea75b00 | csigs | 21 July 2020, 04:10:47 UTC | LEGO: check in for master to temporary branch. | 21 July 2020, 04:10:47 UTC |
94d6b45 | Anders Hejlsberg | 21 July 2020, 03:35:47 UTC | Consistent errors on circular base types (#39675) * Properly track and report errors on circular base types * Accept new baselines * Add regression test | 21 July 2020, 03:35:47 UTC |
5ae4b5d | Anders Hejlsberg | 20 July 2020, 17:36:46 UTC | Properly preserve numeric string named properties in declaration files (#39658) * Properly preserve names of properties with numeric literal strings * Accept new baselines | 20 July 2020, 17:36:46 UTC |
3b22339 | Sheetal Nandi | 17 July 2020, 23:25:32 UTC | Triple slash references must resolve against the resolved file name (.d.ts and not original source file) since they are rewritten in the .d.ts emit (#39645) * Add tests corresponding to repro from #37928 * Triple slash references must resolve against the resolved file name (.d.ts and not original source file) since they are rewritten in the .d.ts emit * Remove the scenario not fixed in this PR | 17 July 2020, 23:25:32 UTC |
92f41c8 | Alexander T | 17 July 2020, 20:30:57 UTC | tests(39373): add addition tests (#39631) | 17 July 2020, 20:30:57 UTC |
f19c610 | Orta Therox | 17 July 2020, 19:15:49 UTC | Adds latest version of TypeScript to the repro code (#39641) | 17 July 2020, 19:15:49 UTC |
191f4f6 | Wesley Wigham | 17 July 2020, 14:02:05 UTC | Explicitly add dependency on node to compiler tsconfig, remove es6+ string method usage (#39636) | 17 July 2020, 14:02:05 UTC |
5519027 | Wesley Wigham | 17 July 2020, 13:43:50 UTC | Minor fixes to consmetic build issues in user test PR script | 17 July 2020, 13:43:50 UTC |
4e24b1b | Alexander T | 17 July 2020, 00:05:33 UTC | fix(39373): add diagnostic message about using a private name for class declarations without name (#39567) | 17 July 2020, 00:05:33 UTC |
1d671c3 | Orta Therox | 16 July 2020, 22:39:49 UTC | Add twoslash repros to the compiler (#39628) | 16 July 2020, 22:39:49 UTC |
667ba74 | Sheetal Nandi | 16 July 2020, 21:31:24 UTC | Resolve only relative references in open files on syntax server (#39476) * Resolve only relative references in open files on syntax server * Support resolving tripleslash references only in the open file * Apply suggestions from code review Co-authored-by: Daniel Rosenwasser <DanielRosenwasser@users.noreply.github.com> Co-authored-by: Daniel Rosenwasser <DanielRosenwasser@users.noreply.github.com> | 16 July 2020, 21:31:24 UTC |
c07c885 | Alexander T | 16 July 2020, 20:56:30 UTC | fix(39515): fix getting a position for an element before the line break CRLF/LF on the line that contains 'after' element (#39554) | 16 July 2020, 20:56:30 UTC |
6430211 | Alexander T | 16 July 2020, 17:58:16 UTC | fix(38868): add separator for type parameters (#39621) | 16 July 2020, 17:58:16 UTC |
db79030 | Anders Hejlsberg | 16 July 2020, 00:46:48 UTC | Support variadic tuple inference from trailing optional to non-optional (#39614) * Permit variadic tuple inference from trailing optional to non-optional * Add tests | 16 July 2020, 00:46:48 UTC |
b6f09cc | uhyo | 15 July 2020, 21:43:56 UTC | Better error message for unparenthesized function/constructor type notation in union/intersection types (#39570) * add graceful error message for unparenthesized function types in union and intersection * add unparenthesizedFunctionTypeInUnionOrIntersection test * add unparenthesizedConstructorTypeInUnionOrIntersection test * Update src/compiler/parser.ts Co-authored-by: Daniel Rosenwasser <DanielRosenwasser@users.noreply.github.com> * pass isInUnionType to parseFunctionOrConstructorTypeToError * Apply suggestions from code review Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com> * syntax fix * refactor isStartOfFunctionType into isStartOfFunctionTypeOrConstructorType * Update src/compiler/parser.ts Co-authored-by: Daniel Rosenwasser <DanielRosenwasser@users.noreply.github.com> * hoist isUnionType Co-authored-by: Daniel Rosenwasser <DanielRosenwasser@users.noreply.github.com> Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com> | 15 July 2020, 21:43:56 UTC |
37e6e27 | Sheetal Nandi | 15 July 2020, 21:31:55 UTC | Do not resolve require calls in typescript files even if it contains dynamic import (#39617) * Existing tests showing require in ts file is not used for module resolution * Do not resolve require calls in typescript files even if it contains dynamic import Fixes #38611 | 15 July 2020, 21:31:55 UTC |
f2c5643 | Wesley Wigham | 15 July 2020, 18:19:43 UTC | Flag mapped types with circular property types and do not attempt to print them structurally (#39552) | 15 July 2020, 18:19:43 UTC |
fcd4fcb | Wenlu Wang | 15 July 2020, 16:22:12 UTC | Use combined node flags (#39403) | 15 July 2020, 16:22:12 UTC |
7b72875 | Wenlu Wang | 15 July 2020, 15:47:25 UTC | Fix incorrect deprecated mark (#39611) * Fix incorrect deprecated mark * improve test | 15 July 2020, 15:47:25 UTC |
dd2fc86 | Andrew Branch | 15 July 2020, 01:56:50 UTC | Don’t give all instantiated signatures in JS strict arity (#39606) | 15 July 2020, 01:56:50 UTC |
ef9affe | Wesley Wigham | 15 July 2020, 00:25:45 UTC | Use jsxFragmentFactory entity name for factory name lookup from checking fragments (#39475) | 15 July 2020, 00:25:45 UTC |
ececf3b | Alexander T | 14 July 2020, 22:43:18 UTC | fix(33511): show jsx namespace default import quick fix if it does not exists in the current scope (#38419) | 14 July 2020, 22:43:18 UTC |
98ab3a7 | Andrew Branch | 14 July 2020, 22:05:10 UTC | Fix tsc --watch crash on module augmentations when module resolution changes (#39604) * Add failing test * Ensure source files are bound before analyzing them | 14 July 2020, 22:05:10 UTC |
f68a839 | Michael Crane | 14 July 2020, 18:52:55 UTC | Load ETW module from a specified path (#39599) | 14 July 2020, 18:52:55 UTC |
1702238 | Jesse Trinity | 14 July 2020, 02:33:33 UTC | Add refactor convertToOptionalChainExpression (#39135) * add convertOptionalChain * cover more cases * expose containsMatchingReference * clean up performing edits * bound start position * add tests * refactor and handle edge cases * update tests * consider explicit requests for empty spans * update fourslash to use trigger reason * add tests cases for trigger reason * fix errors * remove type assertion * fix non ampersand chains * clean up some logic * add ternary case * add diagnostic message * add nullish check for ternary expressions * Update src/services/refactors/convertToOptionalChainExpression.ts Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com> * Update src/services/refactors/convertToOptionalChainExpression.ts Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com> * Update tests/cases/fourslash/refactorConvertToOptionalChainExpressionForTriggerReason3.ts Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com> * Update tests/cases/fourslash/refactorConvertToOptionalChainExpressionForTriggerReason1.ts Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com> * reformat and remove unused checks * allow any for ternary refactor * add tests * add tests * check return and variable statements * use isMatchingReference instead of containsMatchingReference * allow partial selections * fine tune selection ranges * recurse for call expressions * fix spellings * add recursive cases * remove isOrContainsMatchingReference * cleanup * more refactoring * cleanup * rename tests * address PR comments * check match syntactically * handle another call expression case * some renames * inline some checks * add test * address comments * add refactorNotAvailableReason Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com> | 14 July 2020, 02:33:33 UTC |