ce549af | Daniel Rosenwasser | 06 August 2020, 06:46:33 UTC | Lints. | 06 August 2020, 06:46:33 UTC |
73ede59 | Daniel Rosenwasser | 06 August 2020, 06:10:26 UTC | Don't recurse when the answer doesn't change to 'true', just continue. | 06 August 2020, 06:25:49 UTC |
e9f82e4 | csigs | 05 August 2020, 22:12:12 UTC | LEGO: Merge pull request 39927 LEGO: Merge pull request 39927 | 05 August 2020, 22:12:12 UTC |
9ad3b47 | csigs | 05 August 2020, 22:11:17 UTC | LEGO: check in for master to temporary branch. | 05 August 2020, 22:11:17 UTC |
da5ff57 | Sheetal Nandi | 05 August 2020, 19:19:15 UTC | Renames in servermode per feedback (#39883) * Server mode renames as per feedback * More renames | 05 August 2020, 19:19:15 UTC |
7f4e1b6 | Andrew Branch | 05 August 2020, 17:09:45 UTC | Find tagless JSDoc as preceding token (#39912) | 05 August 2020, 17:09:45 UTC |
2ebdf9f | csigs | 05 August 2020, 16:11:30 UTC | LEGO: Merge pull request 39921 LEGO: Merge pull request 39921 | 05 August 2020, 16:11:30 UTC |
a548e4f | csigs | 05 August 2020, 16:10:40 UTC | LEGO: check in for master to temporary branch. | 05 August 2020, 16:10:40 UTC |
5843851 | csigs | 05 August 2020, 10:11:38 UTC | LEGO: Merge pull request 39917 LEGO: Merge pull request 39917 | 05 August 2020, 10:11:38 UTC |
7d11da1 | csigs | 05 August 2020, 10:10:46 UTC | LEGO: check in for master to temporary branch. | 05 August 2020, 10:10:46 UTC |
c9f05af | Nathan Shively-Sanders | 04 August 2020, 23:09:50 UTC | Merge pull request #37891 from Neonit/jsDocIndentationPreservation Fix indentation preservation in JSDoc (#37717) | 04 August 2020, 23:09:50 UTC |
4c7ea8e | csigs | 04 August 2020, 22:12:00 UTC | LEGO: Merge pull request 39913 LEGO: Merge pull request 39913 | 04 August 2020, 22:12:00 UTC |
c96bad2 | csigs | 04 August 2020, 22:11:06 UTC | LEGO: check in for master to temporary branch. | 04 August 2020, 22:11:06 UTC |
bcccae2 | Sheetal Nandi | 04 August 2020, 20:33:27 UTC | Handle the fact that noResolveResolution resolution is reused (#39889) Fixes #39795 | 04 August 2020, 20:33:27 UTC |
6247364 | csigs | 04 August 2020, 16:11:33 UTC | LEGO: Merge pull request 39904 LEGO: Merge pull request 39904 | 04 August 2020, 16:11:33 UTC |
3d9eb73 | csigs | 04 August 2020, 16:10:42 UTC | LEGO: check in for master to temporary branch. | 04 August 2020, 16:10:42 UTC |
2106b07 | 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:14:24 UTC |
817dc52 | Daniel Rosenwasser | 04 August 2020, 07:05:24 UTC | Add an 'Update LKG' action (#39897) | 04 August 2020, 07:05:24 UTC |
d985e68 | Daniel Rosenwasser | 04 August 2020, 06:38:55 UTC | Bump version to 4.1. (#39894) * Bump version to 4.1. * Update baselines. | 04 August 2020, 06:38:55 UTC |
ed55e0c | csigs | 04 August 2020, 04:11:30 UTC | LEGO: Merge pull request 39896 LEGO: Merge pull request 39896 | 04 August 2020, 04:11:30 UTC |
26d228c | csigs | 04 August 2020, 04:10:42 UTC | LEGO: check in for master to temporary branch. | 04 August 2020, 04:10:42 UTC |
773be79 | Nathan Shively-Sanders | 03 August 2020, 23:55:17 UTC | Merge pull request #39892 from microsoft/make-uint8-constructor-backward-compatible Make numeric Array constructors take ArrayLikeBuffer union | 03 August 2020, 23:55:17 UTC |
1ed00c8 | csigs | 03 August 2020, 22:12:03 UTC | LEGO: Merge pull request 39891 LEGO: Merge pull request 39891 | 03 August 2020, 22:12:03 UTC |
dec871b | csigs | 03 August 2020, 22:11:07 UTC | LEGO: check in for master to temporary branch. | 03 August 2020, 22:11:07 UTC |
065b83b | 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, 21:56:55 UTC |
ff2ff98 | Nathan Shively-Sanders | 03 August 2020, 16:25:23 UTC | Update user baselines (#39857) Co-authored-by: typescript-bot <typescript@microsoft.com> | 03 August 2020, 16:25:23 UTC |
b28a504 | csigs | 03 August 2020, 16:11:33 UTC | LEGO: Merge pull request 39880 LEGO: Merge pull request 39880 | 03 August 2020, 16:11:33 UTC |
d7fb2b6 | csigs | 03 August 2020, 16:10:45 UTC | LEGO: check in for master to temporary branch. | 03 August 2020, 16:10:45 UTC |
c05078e | typescript-bot | 03 August 2020, 04:44:41 UTC | Update user baselines | 03 August 2020, 04:44:41 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 |
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 |
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 |
6279f98 | Armando Aguirre | 14 July 2020, 00:48:50 UTC | Merge pull request #37029 from armanio123/AddToggleCommentFeature Add ToggleLineComment and ToggleMultilineComment service | 14 July 2020, 00:48:50 UTC |