13269b3 | Daniel Rosenwasser | 26 March 2020, 09:03:43 UTC | Accepted baselines. | 26 March 2020, 10:02:38 UTC |
eedc389 | Daniel Rosenwasser | 26 March 2020, 09:02:13 UTC | Better assignability errors when the target is an intersection that gets reduced to 'never'. | 26 March 2020, 09:37:51 UTC |
0d7a75e | Daniel Rosenwasser | 26 March 2020, 09:01:04 UTC | Added test case. | 26 March 2020, 09:01:04 UTC |
84a3252 | Sheetal Nandi | 25 March 2020, 23:27:02 UTC | Handle packages inside another node modules package when auto importing (#37561) Fixes #37542 | 25 March 2020, 23:27:02 UTC |
fd9e602 | Sheetal Nandi | 25 March 2020, 23:26:10 UTC | When the global file is deleted mark all files as changed (#37538) * Add test case when the errors are not refreshed if global file is deleted Testcase for #36728 * When the global file is deleted mark all files as changed Fixes #36728 * Update other baselines to fix file info | 25 March 2020, 23:26:10 UTC |
6bd68a8 | Sheetal Nandi | 25 March 2020, 22:51:07 UTC | Release the documents from language service using key instead of calculating it on the spot since we want to use correct paths for the files (#37596) Fixes #37500 | 25 March 2020, 22:51:07 UTC |
b58a29b | Ron Buckton | 25 March 2020, 22:28:13 UTC | Fix emit for optional chain with non-null assertion (#36539) * Fix emit for optional chain with non-null assertion * Treat '!' differently inside chain vs end of chain * remove dead code and fix comment | 25 March 2020, 22:28:13 UTC |
a04225d | Andrew Branch | 25 March 2020, 22:27:47 UTC | Don’t suppress completions after yield (#37609) | 25 March 2020, 22:27:47 UTC |
4567fc4 | Wesley Wigham | 25 March 2020, 22:16:54 UTC | Ensure computed property names are always checked (#37307) | 25 March 2020, 22:16:54 UTC |
6c1e8aa | Sheetal Nandi | 25 March 2020, 21:57:46 UTC | Sort the arrays of fileNames in the build info (#37541) * Sort the arrays of fileNames in the build info Earlier we did this in testing to ensure we could baseline now moved to actual build info writing Fixes #37156 * Sort using compareStringsCaseSensitive | 25 March 2020, 21:57:46 UTC |
e1772fa | Andrew Casey | 25 March 2020, 21:48:54 UTC | Add test for #35011 (#37312) * Add test for #35011 When searching for a default configured project, stop at `node_modules`. * Be more explicit about inferred projects * Move test into tsserver/projects.ts * Use existing helpers to simplify tests | 25 March 2020, 21:48:54 UTC |
8615eec | Rustin | 25 March 2020, 19:37:46 UTC | Enhancement new expression with type arguments without parenthesized argument list error message (#37576) * Enhancement new expression with type arguments without parenthesized argument list error message Signed-off-by: Rustin-Liu <rustin.liu@gmail.com> * add baselines Signed-off-by: Rustin-Liu <rustin.liu@gmail.com> * use parseErrorAt Signed-off-by: Rustin-Liu <rustin.liu@gmail.com> * refine code Signed-off-by: Rustin-Liu <rustin.liu@gmail.com> * Space before paren Co-authored-by: Daniel Rosenwasser <DanielRosenwasser@users.noreply.github.com> | 25 March 2020, 19:37:46 UTC |
b7b2c33 | Sheetal Nandi | 25 March 2020, 17:14:31 UTC | Handle if reading tsconfig file fails (#37563) Fixes #36862 | 25 March 2020, 17:14:31 UTC |
a1c8608 | Nathan Shively-Sanders | 25 March 2020, 00:56:27 UTC | Revert cloneNode overrides in the DOM (#37568) * Revert cloneNode overrides in the DOM See microsoft/TSJS-lib-generator#842 * update baselines | 25 March 2020, 00:56:27 UTC |
37569d0 | Andrew Branch | 24 March 2020, 16:56:47 UTC | Convert to async function: handle type arguments to then/catch (#37463) * Handle type arguments to then/catch * Keep single-line types on a single line | 24 March 2020, 16:56:47 UTC |
9f296ce | Sheetal Nandi | 24 March 2020, 16:53:27 UTC | Do not include global errors in semantic errors from the file (#37545) Fixes #37084 | 24 March 2020, 16:53:27 UTC |
7ade67d | csigs | 24 March 2020, 16:11:09 UTC | LEGO: Merge pull request 37553 LEGO: Merge pull request 37553 | 24 March 2020, 16:11:09 UTC |
f55cb45 | csigs | 24 March 2020, 16:10:28 UTC | LEGO: check in for master to temporary branch. | 24 March 2020, 16:10:28 UTC |
11043b0 | Sheetal Nandi | 24 March 2020, 00:20:35 UTC | Check JSDocPropetyTag (#37544) Fixes #37040 | 24 March 2020, 00:20:35 UTC |
38e717a | Jack Works | 23 March 2020, 21:08:44 UTC | fix: hyphened name not auto-completed by the ls (#37455) * fix: hyphened name not auto-completed by the ls * fix: accept new baseline * Adds a test to validate the hypened identifiers in JSX Co-authored-by: Orta Therox <orta.therox@gmail.com> | 23 March 2020, 21:08:44 UTC |
221a2ae | Sheetal Nandi | 23 March 2020, 17:11:01 UTC | Handle import type and export type in preprocess (#37508) Fixes #37338 | 23 March 2020, 17:11:01 UTC |
5fa066f | csigs | 22 March 2020, 16:11:05 UTC | LEGO: Merge pull request 37517 LEGO: Merge pull request 37517 | 22 March 2020, 16:11:05 UTC |
fa32f40 | csigs | 22 March 2020, 16:10:26 UTC | LEGO: check in for master to temporary branch. | 22 March 2020, 16:10:26 UTC |
fbd83b8 | Orta | 21 March 2020, 00:17:27 UTC | Bring over last 3.9 dom changes (#37502) * Bring over last 3.9 dom changes * Addresses feedback | 21 March 2020, 00:17:27 UTC |
fde9c7f | Anders Hejlsberg | 21 March 2020, 00:09:24 UTC | Narrowing from truthy unknown to object (#37507) * For x && typeof x === 'object', narrow x to just type object * Add tests * Allow arbitrary nesting / add comments * Add additional tests | 21 March 2020, 00:09:24 UTC |
e3ec7b1 | Ron Buckton | 20 March 2020, 23:09:01 UTC | Add the 'awaited' type operator (#35998) * Add the 'awaited' type operator * Add script to manually add reviewers to a PR when GH 'Suggested Reviewers' breaks * Fix lint error in review script * Only defer generic awaited type for possible thenable * Add variance-like behavior for awaited * Switch awaited type params to 'unreliable' variance * fix typo in inferTypes * LKG without syntax in lib * LKG with new syntax in lib * Add 'strictAwaitedTypes' flag * Treat strictAwaitedTypes as strict-mode flag * Rename TAll, remove duplicate definition of 'race' * Apply suggestions from code review Co-Authored-By: ExE Boss <3889017+ExE-Boss@users.noreply.github.com> * Fix inference priority * Update comment to isGenericAwaitableType * Add overloads for then/catch to Promise * Add inference heuristic for T | PromiseLike<T> (for any PromiseLike) * Remove strictAwaitedTypes flag Co-authored-by: ExE Boss <3889017+ExE-Boss@users.noreply.github.com> | 20 March 2020, 23:09:01 UTC |
114fe4d | TypeScript Bot | 20 March 2020, 17:28:12 UTC | Update user baselines (#37354) Co-authored-by: typescript-bot <typescript@microsoft.com> | 20 March 2020, 17:28:12 UTC |
8f64d66 | Sheetal Nandi | 20 March 2020, 17:16:41 UTC | If emitting declaration file, update the d.ts signature in state to not have to save all files when different file changes without changing its shape (#37483) * Add test that calling getAffectedFiles on two different files (even if the second one is saved) returns all files * If emitting declaration file, update the d.ts signature in state to not have to save all files when different file changes without changing its shape Fixes #30508 | 20 March 2020, 17:16:41 UTC |
5e9c436 | Sheetal Nandi | 19 March 2020, 23:53:44 UTC | Handle auto import scenarios when using project references (#37482) * Add test for project reference and auto import Test for #34677 * Add project reference redirect to the possible file name to import if file is source of project reference redirect Fixes the auto import suggestion when project is built * Use fileExists that mimics presence of project reference redirect file when trying to get auto import file name | 19 March 2020, 23:53:44 UTC |
ec95c27 | Eli Barzilay | 19 March 2020, 23:02:39 UTC | Fix `getSignatureOfTypeTag` (#37473) Prevents infinite looping as in #37265. Fixes #37265 | 19 March 2020, 23:02:39 UTC |
292d018 | Andrew Branch | 19 March 2020, 21:13:15 UTC | Add code fix for importsNotUsedAsValues error (#37468) | 19 March 2020, 21:13:15 UTC |
e15a9fb | Anders Hejlsberg | 19 March 2020, 21:05:33 UTC | Track tuple type recursion in inferFromObjectTypes (#37479) * Track recursive tuple types in inferFromObjectTypes * Add regression test | 19 March 2020, 21:05:33 UTC |
7e07a2b | Sheetal Nandi | 19 March 2020, 21:03:21 UTC | Allow rich response for compile on save (#37462) Fixes #30739 | 19 March 2020, 21:03:21 UTC |
c513a4a | Wesley Wigham | 19 March 2020, 19:03:50 UTC | Allow nested conditionals to be related via constraints (#37208) * Allow nested conditionals to be related via constraints * Delete word in comment | 19 March 2020, 19:03:50 UTC |
a83ce33 | Allan Guwatudde | 19 March 2020, 18:40:43 UTC | Fix poor error span for unclosed JSX tags in the presence of whitespace/comments (#37419) * Improve jsx tag error span * Move solution to parseJsxChild func * Add tests and update baselines * Update comment in src/compiler/parser.ts Co-Authored-By: Daniel Rosenwasser <DanielRosenwasser@users.noreply.github.com> * Use skipTrivia to check for whitespaces and other trivia * Import React into errorSpanForUnclosedJsxTag.tsx * . * . Co-authored-by: Daniel Rosenwasser <DanielRosenwasser@users.noreply.github.com> | 19 March 2020, 18:40:43 UTC |
e2156a1 | Wesley Wigham | 19 March 2020, 17:45:00 UTC | Add huge maximal length for noTruncation mode (#37461) | 19 March 2020, 17:45:00 UTC |
237ea52 | Andrew Branch | 19 March 2020, 16:46:00 UTC | Preserve newlines from original source when printing nodes from TextChanges (#36688) * Allow emitter to write multiple newlines in node lists * Progress * Progress * Fix recomputeIndentation * Add tests, fix leading line terminator count * Do a bit less work when `preserveNewlines` is off * Fix accidental find/replace rename * Restore some monomorphism * Fix single line writer * Fix other writers * Revert "Fix other writers" This reverts commit 21b0cb8f3beb6915eb969e4924ce0ad4b1645876. * Revert "Fix single line writer" This reverts commit e535e279f99a423aab44dca8eca46f46669d045f. * Revert "Restore some monomorphism" This reverts commit e3ef42743a99333a15d3cb357125c67aa13f2d03. * Add equal position optimization to getLinesBetweenRangeEndAndRangeStart * Add one more test * Actually save the test file * Rename preserveNewlines to preserveSourceNewlines * Make ignoreSourceNewlines internal * Optimize lines-between functions * Add comment; * Fix trailing line terminator count bug for function parameters * Preserve newlines around parenthesized expressions * Back to speculative microoptimizations, yay * Don’t call getEffectiveLines during tsc emit at all | 19 March 2020, 16:46:00 UTC |
667f3b4 | Wesley Wigham | 19 March 2020, 04:16:55 UTC | Allow assertion signatures to narrow by discriminant (#37310) | 19 March 2020, 04:16:55 UTC |
ac3dc0c | Alexander T | 19 March 2020, 00:03:07 UTC | fix(37287): check appropriate context with enabled useDefineForClassFields (#37323) | 19 March 2020, 00:03:07 UTC |
933c294 | Nathan Shively-Sanders | 18 March 2020, 23:08:19 UTC | Dom update 2020-03-18 (#37464) * Copy over DOM updates from TSJS-lib-generator * update baselines | 18 March 2020, 23:08:19 UTC |
062104d | Nathan Shively-Sanders | 18 March 2020, 21:35:19 UTC | Simplify return type of Object.fromEntries (#37457) PropertyKey is accurate but not usable. Fixes #31393 | 18 March 2020, 21:35:19 UTC |
2df421b | Sheetal Nandi | 18 March 2020, 17:39:25 UTC | Always generate configFileDiag if file is going to be added to configured project (#37443) Fixes #30623 | 18 March 2020, 17:39:25 UTC |
0aa2e27 | Alexander T | 18 March 2020, 16:54:17 UTC | feat(37409): add fix all quick fix to fixInvalidJsxCharacters (#37436) | 18 March 2020, 16:54:17 UTC |
f8083d2 | csigs | 18 March 2020, 04:11:08 UTC | LEGO: Merge pull request 37446 LEGO: Merge pull request 37446 | 18 March 2020, 04:11:08 UTC |
5fd5690 | csigs | 18 March 2020, 04:10:28 UTC | LEGO: check in for master to temporary branch. | 18 March 2020, 04:10:28 UTC |
0222211 | Anders Hejlsberg | 18 March 2020, 02:20:56 UTC | Support for/of variables in assertion checking (#37432) * Support for/of variables in assertion checking * Integrate with "dotted name" logic * Add tests | 18 March 2020, 02:20:56 UTC |
c8e43d8 | Alexander T | 17 March 2020, 23:16:28 UTC | fix(37194): fix crash on go to the definition in variable assignment (#37253) | 17 March 2020, 23:16:28 UTC |
48e1745 | David Sherret | 17 March 2020, 23:08:57 UTC | Fix `Node#getStart(sourceFile, true)` throwing when node has a js doc and no parent (#37439) * Fix missing source file argument. * Add test * fix lint Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com> | 17 March 2020, 23:08:57 UTC |
c600aa7 | Jack Williams | 17 March 2020, 21:58:52 UTC | Fix #33732 (#36077) * Fix #33732 * Remove code change but keep test | 17 March 2020, 21:58:52 UTC |
66aa9e7 | Alexander T | 17 March 2020, 21:48:05 UTC | fix(36247): disallow 'constructor' as a parameter property name (#37285) | 17 March 2020, 21:48:05 UTC |
878f447 | Josh Goldberg | 17 March 2020, 21:21:23 UTC | Clarified file-not-found error for reference paths without extensions (#35956) * Clarified file-not-found error for reference paths without extensions * Updated error message to include extensions * update baselines missed in merge Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com> | 17 March 2020, 21:21:23 UTC |
e60bbac | Sheetal Nandi | 17 March 2020, 20:21:40 UTC | Fix declaration emit when the packages are included through symlinks (#37438) * Convert symlink scenarios to virtual FS where its symlinks are correctly maintained Adds test for #36866 * Fix the casing issue when redirects differ in casing of the file * Make ModuleSpecifierResolutionHost internal * Refactoring for ModuleSpecifierResolutionHost * If any of the file path option is from node_modules folder, consider only paths in node_modules folder * Update src/services/utilities.ts Co-Authored-By: Andrew Branch <andrewbranch@users.noreply.github.com> Co-authored-by: Andrew Branch <andrewbranch@users.noreply.github.com> | 17 March 2020, 20:21:40 UTC |
a510cad | Alexander T | 17 March 2020, 20:21:20 UTC | fix(36936): fix crash caused by resolving non existent export (#37077) | 17 March 2020, 20:21:20 UTC |
f1eb989 | Alexander T | 17 March 2020, 20:13:38 UTC | feat(36908): add 'property overwritten by spread' error for jsx attributes. add related span for conflicting declaration in spread (#37329) | 17 March 2020, 20:13:38 UTC |
b0450ae | Andy Hanson | 17 March 2020, 20:00:14 UTC | Add codefix for --noImplicitThis (#27565) * Add codefix for --noImplicitThis * Code review * Back to building post-merge * Remove redundant functions + update tests Infer-from-usage also inserts `this: any` parameters when needed, so I removed that from fixImplicitThis. Otherwise, fixImplicitThis has better suggestions than inferFromUsage, so I moved inferFromUsage later in the suggestion order. * More redundancy removal Don't need to add `@this` anymore either since inferFromUsage will do that. * More baseline updates From moving inferFromUsage down in priority I think? * remove now-redundant ad-hoc jsdoc emit * fix more bad merge Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com> | 17 March 2020, 20:00:14 UTC |
ec426ee | Ron Buckton | 17 March 2020, 19:10:55 UTC | Add script to work around GH issue with suggested reviewers (#37422) | 17 March 2020, 19:10:55 UTC |
9120497 | Anders Hejlsberg | 16 March 2020, 23:40:04 UTC | Flatten immediately nested conditional types in the false position (#36583) * Flatten immediately nested conditional types in the false position * Add test * Accept new baselines * Handle nested distributive types with different checkType * Allow deeply nested immediately resolving conditionals without any syntactic requirements or implementation contortions Extract logic into function Co-authored-by: Wesley Wigham <wewigham@microsoft.com> | 16 March 2020, 23:40:04 UTC |
2458c8a | Sheetal Nandi | 16 March 2020, 18:15:39 UTC | When the imported module is through node_modules and symlink to folder that isnt node_modules (#37387) * Add tests that fail because of symlink to non common directory node_modules * When the imported module is through node_modules and symlink to folder that isnt node_modules Most of the monorepo like scenarios are like this so looking at symlink to decide if file can be imported is essential Fixes #28689 | 16 March 2020, 18:15:39 UTC |
b8baf48 | Anders Hejlsberg | 14 March 2020, 16:45:05 UTC | Fix assignment of intersections to objects with optional properties (#37195) * Treat intersections of only objects as a single object in relations * Exclude intersections containing non-inferrable types * Accept new baselines * Update test * Accept new baselines * Add tests | 14 March 2020, 16:45:05 UTC |
ad8d3d9 | csigs | 13 March 2020, 22:11:19 UTC | LEGO: Merge pull request 37390 LEGO: Merge pull request 37390 | 13 March 2020, 22:11:19 UTC |
fa8efcc | csigs | 13 March 2020, 22:10:43 UTC | LEGO: check in for master to temporary branch. | 13 March 2020, 22:10:43 UTC |
8b6bd41 | Klaus Meinhardt | 13 March 2020, 21:30:53 UTC | getPropertiesOfUnionOrIntersectionType: handle types with index signature (#31979) * getPropertiesOfUnionOrIntersectionType: handle types with index signature Fixes: #31565 * fix test * more testing * fix typo in checker.ts Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com> | 13 March 2020, 21:30:53 UTC |
4432178 | Cayman | 13 March 2020, 20:50:16 UTC | Add valueOf declarations for TypedArrays (#36668) | 13 March 2020, 20:50:16 UTC |
4c16068 | Jesse Trinity | 13 March 2020, 20:42:49 UTC | Add trimTrailingWhitespace Editor Option (#36905) * add trim trailing whitespace option * set default trimTrailingWhiteSpace to true * add fourslash tests * accept new baselines * only preserce whitespace when setting is explicitly false * format whitespace | 13 March 2020, 20:42:49 UTC |
fc30095 | Alexander T | 13 March 2020, 20:38:44 UTC | feat(33792): add new quick fix service to handle missing call in condition (#37152) | 13 March 2020, 20:38:44 UTC |
47b60ec | Wesley Wigham | 13 March 2020, 18:02:11 UTC | Make substitution types even if the substitution base isnt a type variable (#37348) * Make substitution types even if the substitution base isnt a type variable * Broaden usage of getConditionalFlowTypeOfType to _all_ type lookups * Align comments | 13 March 2020, 18:02:11 UTC |
db44231 | Andrew Branch | 13 March 2020, 17:52:27 UTC | Add outlining spans for case clauses (#37374) * Add outlining spans for case clauses * Update old test * Update other test * Update yet another of the same test | 13 March 2020, 17:52:27 UTC |
ba39113 | Sheetal Nandi | 13 March 2020, 17:46:58 UTC | Handle when default project for file is solution with file actually referenced by one of the project references (#37239) * Add test where file from referenced project of solution belongs to inferred project instead of referenced project * Try to find project from project references if the default config project is solution Fixes #36708 * Add test to verify the correct collection of projects * Handle when default config project is indirectly referenced in the solution * Include public API tests in unittests * Make sure default project for script info is calculated correctly * Handle reload projects * Ensure to load solution project tree when project is referenced by solution * Find all refs when the file is referenced via d.ts * Some comments per feedback * Fix typo | 13 March 2020, 17:46:58 UTC |
b41eb1b | Alexander T | 13 March 2020, 17:33:56 UTC | feat(36249): add quick-fix action to declare a property as private which starts from underscore (#36632) | 13 March 2020, 17:33:56 UTC |
f1cc8e4 | Orta | 13 March 2020, 17:26:39 UTC | [minor] Adds some docs to the LSP interface (#36740) * Adds some docs to the LSP dts * Ensure that getProgramDiagnostic is included everywhere that getCompilerOptionsDiagnostic is * Update baselines * Apply suggestions from code review Co-Authored-By: Andrew Branch <andrewbranch@users.noreply.github.com> * Remove the getCompilerOptionsDiagnostics -> getProgramDiagnostics change Co-authored-by: Andrew Branch <andrewbranch@users.noreply.github.com> | 13 March 2020, 17:26:39 UTC |
eaeee9c | csigs | 13 March 2020, 04:11:07 UTC | LEGO: Merge pull request 37377 LEGO: Merge pull request 37377 | 13 March 2020, 04:11:07 UTC |
98e45b4 | csigs | 13 March 2020, 04:10:29 UTC | LEGO: check in for master to temporary branch. | 13 March 2020, 04:10:29 UTC |
a7b1717 | Sheetal Nandi | 13 March 2020, 01:26:39 UTC | Fix test failure as part of #35922 | 13 March 2020, 01:26:39 UTC |
c1e578d | Sheetal Nandi | 13 March 2020, 01:23:43 UTC | Fix tests failure due to #36317 | 13 March 2020, 01:23:43 UTC |
df523b3 | Wesley Wigham | 13 March 2020, 00:50:05 UTC | Filter the type of a binding pattern to not include undefined is the pattern parent has an initializer (#37309) | 13 March 2020, 00:50:05 UTC |
e0f6ecd | Donald Pipowitch | 12 March 2020, 22:55:54 UTC | improve error message TS2307 (#27054) * improve error message TS2307 * add updates missed from merge * update more missed baselines * remove incorrectly re-added test files Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com> | 12 March 2020, 22:55:54 UTC |
b014e2b | Sheon Han | 12 March 2020, 22:52:02 UTC | Show token hints for missing closing braces (#36317) * Add error for missing brace in object literal * Add new baseline test * Update all affected tests | 12 March 2020, 22:52:02 UTC |
c6cfd66 | Andrii Dieiev | 12 March 2020, 22:50:23 UTC | Support template literals in preProcess (fixes #33680) (#33688) | 12 March 2020, 22:50:23 UTC |
0426e48 | Ryan Cavanaugh | 12 March 2020, 22:45:56 UTC | Fix crash when host.getSourceFile returns undefined (#37373) Another day, another incorrect non-null assertion Fixes #37368 | 12 March 2020, 22:45:56 UTC |
f06f809 | M.Yoshimura | 12 March 2020, 22:41:40 UTC | Treat write-only-access to a class member with setter as a reference. (#35922) * Treat write-only-access to a class member with setter as a reference. * Add test case for unused private members, special-casing the member with a setter. | 12 March 2020, 22:41:40 UTC |
dcc7394 | Jack Williams | 12 March 2020, 22:40:14 UTC | Fix 33436 (#35225) * Fix 33436 * Fix code * Fix error message after bad merge * Remove whitespace | 12 March 2020, 22:40:14 UTC |
d727d5a | Ryan Cavanaugh | 12 March 2020, 22:11:05 UTC | Remove 'path' from assert call (#37372) Fixes #37369 | 12 March 2020, 22:11:05 UTC |
31963d5 | Joey Watts | 12 March 2020, 21:55:02 UTC | Add implementation for fixExpectedComma (#33879) Signed-off-by: Andrew Deniszczyc <adeniszczyc@bloomberg.net> Cleanup of implementation Move check node container check Add test cases for fixExpectedCommaError Renaming and add test case Co-authored-by: Andrew Deniszczyc <adeniszczyc@bloomberg.net> | 12 March 2020, 21:55:02 UTC |
bff0ddc | Sachin Grover | 12 March 2020, 21:51:48 UTC | fix(36102): fix extra new line in Organize Imports (#36911) Organize Imports was inserting extra newline. Fixes #36102 | 12 March 2020, 21:51:48 UTC |
3d76c37 | Arman | 12 March 2020, 21:44:07 UTC | More clear comment for String.prototype.match() (#36301) * More clear comment for String.prototype.match() * Removed trailing spaces | 12 March 2020, 21:44:07 UTC |
7bd6209 | Klaus Meinhardt | 12 March 2020, 21:42:49 UTC | Don't parse duplicate JSDoc for ExpressionStatement starting with ParenthesizedExpression (#36289) * don't parse JSDoc on ExpressionStatement if it starts with ParenthesizedExpression * update test | 12 March 2020, 21:42:49 UTC |
ddcf139 | Tom Jenkinson | 12 March 2020, 21:28:14 UTC | make splice `deleteCount` required in es5.d.ts (#32643) * make splice `deleteCount` required in es5.d.ts In ES5 `deleteCount` is not an optional argument. If it is not provided it defaults to 0 as a side effect of `undefined` being converted to an integer. In ES6 `deleleteCount` is optional, and it defaults to the length of the array minus the start index. If you are targeting ES5 but don't provide `deleteCount` the behaviour will be different depending on the environment your build is running in. fixes #32638 * update baselines | 12 March 2020, 21:28:14 UTC |
4406717 | David | 12 March 2020, 20:35:35 UTC | add config to insert space for empty braces (#35427) | 12 March 2020, 20:35:35 UTC |
a76a166 | Sheetal Nandi | 12 March 2020, 20:11:11 UTC | Move useSourceOfProjectReferenceRedirect to program so other hosts can use it too, enabling it for WatchHost (#37370) | 12 March 2020, 20:11:11 UTC |
1f71016 | Sheetal Nandi | 12 March 2020, 17:54:30 UTC | Ensure that we have seenAffectedFiles map when files are added to pending emit because they were present in the old state (#37302) * Make the systems for baselining default to pretty * Ensure that we have seenAffectedFiles map when files are added to pending emit because they were present in the old state This happens in build scenarios since semantic diagnostics are queried before emit and hence files are added to seenAffectedFiles pending emit Fixes #37269 | 12 March 2020, 17:54:30 UTC |
41a80f5 | Anders Hejlsberg | 12 March 2020, 16:40:15 UTC | No infinite recursion in excess property and weak type checks (#37360) * New IntersectionState.ExcessCheck flag to ensure no infinite recursion * Add regression test | 12 March 2020, 16:40:15 UTC |
9e97b00 | Andrew Casey | 12 March 2020, 02:18:17 UTC | adds error message for using value as type argument (#37359) This addresses issue #28975 (https://github.com/microsoft/TypeScript/issues/28975). When providing a value as a type argument, we can suggest a more specific error message: "Did you mean to use typeof T?" adds error message WIP: Detect error WIP: progress updated tests janky implementation adds test coverage around literal types being unaffected refactor out isIdentifierATypeArgument function adds test case for type alias adds test case for nested type arguments fixes linting errors merge master into branch to overwrite changes changes value as type error message This suggests 'typeof T' as a potential alternative when we give an error about using value T as a type. remove stale tests from old change Co-authored-by: John Patterson <john@johnppatterson.com> | 12 March 2020, 02:18:17 UTC |
2431866 | Sheetal Nandi | 11 March 2020, 23:47:11 UTC | Increase the idle time before which ensureProject for open file is called (#37121) * Increase timeout for ensuring projects for open files * Condense the project/file printing in the log (given now we have project printed anytime its structure changes) | 11 March 2020, 23:47:11 UTC |
d34af44 | Wesley Wigham | 11 March 2020, 22:19:39 UTC | Recognise master branch-equivalent as master | 11 March 2020, 22:19:39 UTC |
5e2b700 | csigs | 11 March 2020, 22:11:08 UTC | LEGO: Merge pull request 37353 LEGO: Merge pull request 37353 | 11 March 2020, 22:11:08 UTC |
f68a0b2 | csigs | 11 March 2020, 22:10:31 UTC | LEGO: check in for master to temporary branch. | 11 March 2020, 22:10:31 UTC |
bacfda4 | Wesley Wigham | 11 March 2020, 21:38:59 UTC | Update user test baseline script to diff against a single authoratative WIP master branch (like RWC) (#37350) | 11 March 2020, 21:38:59 UTC |
1a9c819 | Sheetal Nandi | 11 March 2020, 21:35:26 UTC | Optimize module resolution cache for watch and editor (#37055) * Refactor resolveName * Have resolutions of failed lookups as array and resolved to fileName map | 11 March 2020, 21:35:26 UTC |
6856c01 | Anders Hejlsberg | 11 March 2020, 20:28:49 UTC | Use objects instead of closures for type mappers (#36576) * Use objects instead of closures for type mappers * Flatten combined type mappers * Single point of creation for type mappers * More optimizations * Fix lint error * Fewer symbol instantiations / discard type mapper after instantiation * More optimizations * Simplify mapper layout and cache in composite mappers * Removing cache as it doesn't seem to matter much * Get rid of identityMapper | 11 March 2020, 20:28:49 UTC |
ae3d28b | Austin Cummings | 11 March 2020, 20:16:33 UTC | Implement constructor type guard (#32774) * Implement constructor type guard * Fix code review issues for constructor type guard. - Do not limit constructor expression to only identifiers - Fix `assumeTrue` and operator no-narrow check - Use better way to check that identifier type is a function - Loosen restriction on what expr is left of ".constructor" - Update typeGuardConstructorClassAndNumber test to include else cases * Fix grammar & spacing in `narrowTypeByConstructor` * fix bad merge * switch (back?) to crlf * update baselines Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com> | 11 March 2020, 20:16:33 UTC |