799bbbe | Daniel Rosenwasser | 23 April 2021, 02:54:06 UTC | Just calculate the result at the end of commitPendingMapping. | 23 April 2021, 02:54:06 UTC |
312ce16 | Daniel Rosenwasser | 23 April 2021, 01:39:55 UTC | Ugh. | 23 April 2021, 01:39:55 UTC |
4c86404 | Daniel Rosenwasser | 23 April 2021, 01:07:28 UTC | Use an array for building up mappings in the sourcemap generator. | 23 April 2021, 01:07:28 UTC |
c552a4b | Zak Miller | 22 April 2021, 22:12:05 UTC | fix(42829) ignore preceeding jsx whitespace (#43452) | 22 April 2021, 22:12:05 UTC |
1a41e19 | TypeScript Bot | 22 April 2021, 06:08:15 UTC | Update package-lock.json | 22 April 2021, 06:08:15 UTC |
f6d425e | Sheetal Nandi | 22 April 2021, 04:30:18 UTC | Module Resolution and Type Reference directive cache updates and its API changes (#43700) * Make the module resolution cache apis for updating compiler options or clearing it * Cache package.json lookup results from module resolution * Use per directory cache for type reference directive resolution as well * Update Baselines and/or Applied Lint Fixes * Change trace according to feedback * Update Baselines and/or Applied Lint Fixes Co-authored-by: TypeScript Bot <typescriptbot@microsoft.com> | 22 April 2021, 04:30:18 UTC |
fb0b1d7 | Sheetal Nandi | 22 April 2021, 00:47:11 UTC | Handle getter setter quickInfo (#43769) Fixes #43413 | 22 April 2021, 00:47:11 UTC |
ba68dc8 | Andrew Branch | 21 April 2021, 21:18:04 UTC | Remove pin, it’s fixed (#43766) | 21 April 2021, 21:18:04 UTC |
f4b8adc | Wesley Wigham | 21 April 2021, 19:51:36 UTC | Comment copy edit | 21 April 2021, 19:51:36 UTC |
8ea4ec9 | Wesley Wigham | 21 April 2021, 19:49:02 UTC | Add `infer T` constraint inference rule matching up mapped type templates across check/extends types (#43649) | 21 April 2021, 19:49:02 UTC |
a433c3c | Andrew Branch | 21 April 2021, 18:50:29 UTC | Pin octokit types (#43762) * Pin @octokit/types to fix build error * Allow update package lock to be run on a workflow dispatch | 21 April 2021, 18:50:29 UTC |
45514d6 | TypeScript Bot | 21 April 2021, 06:08:19 UTC | Update package-lock.json | 21 April 2021, 06:08:19 UTC |
3d24b85 | Tiago Tristao | 20 April 2021, 17:24:17 UTC | Completion list for type literals in type arguments (#43526) * Completion list for type literals in type arguments * Add tests * Refactor for better readability * - Support non-identifier keys - Move main logic onto tryGetGlobalSymbols function | 20 April 2021, 17:24:17 UTC |
f270529 | Sang | 20 April 2021, 17:06:08 UTC | Fix object literals lack of this references (#43572) * fix: object literals lack of this references * test: improve cases | 20 April 2021, 17:06:08 UTC |
8513f78 | Jean Pierre | 20 April 2021, 17:00:34 UTC | Fix getCodeFixesAtPosition for ts(2339) thows error False expression: Token end is child end (#43645) * Fix getCodeFixesAtPosition for ts(2339) thows error False expression: Token end is child end Fixes #43191 * Add test | 20 April 2021, 17:00:34 UTC |
a910c8d | Josh Goldberg | 20 April 2021, 16:04:17 UTC | Added skipDestructiveCodeActions argument to organize imports server command (#43184) * Stopped removing unused imports in files with syntactic errors * Added allowDestructiveCodeActions arg * Updated .d.ts baselines * Stop factoring syntax errors. Weird that no tests break... * Have args extend scope so it is not a breaking change * Update src/harness/harnessLanguageService.ts Co-authored-by: Jesse Trinity <jetrinit@microsoft.com> * Fixed API breaking change, and renamed to skip * Always with the baselines * One more .d.ts baseline to fix * Remove blank line in src/harness/harnessLanguageService.ts Co-authored-by: Jesse Trinity <jetrinit@microsoft.com> | 20 April 2021, 16:04:17 UTC |
f67ee44 | Armando Aguirre | 20 April 2021, 06:23:40 UTC | Instantiate getter when infering setter parameter value (#43564) * Instantiate getter when infering setter parameter value * Use esnext on tests * Instantiate for JsDoc and getter from body * PR comments * Updated baseline | 20 April 2021, 06:23:40 UTC |
167ebcd | Wesley Wigham | 20 April 2021, 05:35:11 UTC | Check type flags before checking multiple-meaning object flags (#43745) | 20 April 2021, 05:35:11 UTC |
7e4400b | Wesley Wigham | 19 April 2021, 22:53:48 UTC | Stop checking getter/setter compatability twice (#43741) * Stop checking getter/setter compatability twice * Ensure modifier errors are still emitted on both accessors, accept modified baselines | 19 April 2021, 22:53:48 UTC |
52ec8ce | Anders Hejlsberg | 19 April 2021, 22:33:36 UTC | Clean up ObjectFlags enum (#43732) * Clean up ObjectFlags enum * Accept new baselines | 19 April 2021, 22:33:36 UTC |
85c9d2c | Wesley Wigham | 19 April 2021, 22:25:12 UTC | Use faster, stricter prop type comparison when merging props in union prop creation (#43696) * Use faster, stricter prop type comparison when merging props in union prop creation * Be better at determining this usage in methods, accept baselines * Small style change | 19 April 2021, 22:25:12 UTC |
1a04b17 | Armando Aguirre | 19 April 2021, 22:10:57 UTC | Fix organize imports overlap (#43228) * Fix organize imports overlap * Refactored multiline end position * Added tests for single line trailing trivia * Fix rearranging imports * Fix lint error * PR coments | 19 April 2021, 22:10:57 UTC |
c671fe1 | Andrew Casey | 19 April 2021, 20:06:00 UTC | Skip up-to-date checks during force build (#43666) * Skip up-to-date checks during force build Save work by not checking timestamps or parsing the buildinfo file. Retain correctness checks (like input file existence). Suppress project status, which was confusing anyway. * Print a message to indicate that --force is causing the rebuild * Don't bother updating buildInfoChecked * Add missing force check | 19 April 2021, 20:06:00 UTC |
e0d5516 | Ron Buckton | 19 April 2021, 16:34:46 UTC | Remove preprinter, add parenthesizer callback to emit (#43652) | 19 April 2021, 16:34:46 UTC |
b1ab2b9 | Ryan Cavanaugh | 19 April 2021, 16:20:21 UTC | Wire up 'writing' parameter through protected derived class detection (#43455) Fixes #43443 | 19 April 2021, 16:20:21 UTC |
e4e96c3 | TypeScript Bot | 18 April 2021, 06:07:36 UTC | Update package-lock.json | 18 April 2021, 06:07:36 UTC |
0f2dabc | Anders Hejlsberg | 17 April 2021, 14:07:46 UTC | Don't re-alias top-level type aliases with local type aliases (#43701) * No re-aliasing of top-level type aliases with local type aliases * Accept new baselines | 17 April 2021, 14:07:46 UTC |
01264ac | Sheetal Nandi | 17 April 2021, 06:22:14 UTC | Reducing tsbuildinfo size further (#43695) * Serialize compiler options that are needed from old state when creating new state * Dont write affectsGlobalScope if not true * Encode FileInfo for better serialization size * Update src/compiler/builder.ts Co-authored-by: TypeScript Bot <typescriptbot@microsoft.com> | 17 April 2021, 06:22:14 UTC |
9af763d | TypeScript Bot | 16 April 2021, 06:08:00 UTC | Update package-lock.json | 16 April 2021, 06:08:00 UTC |
0eee64f | Wesley Wigham | 16 April 2021, 00:16:19 UTC | Node factory should insert override modifier between static and astnc (#43699) | 16 April 2021, 00:16:19 UTC |
06f25c0 | Andrew Branch | 15 April 2021, 21:03:53 UTC | Enforce keyword order between override and static/async (#43660) * Enforce keyword order between override and static/async * Update old tests for new keyword order | 15 April 2021, 21:03:53 UTC |
0987ee9 | Nathan Shively-Sanders | 15 April 2021, 17:53:23 UTC | Do not erase signatures in getSignatureOfTypeTag (#43688) I don't see a reason for it, and it doesn't cause any tests to fail. | 15 April 2021, 17:53:23 UTC |
931b20a | TypeScript Bot | 15 April 2021, 06:07:53 UTC | Update package-lock.json | 15 April 2021, 06:07:53 UTC |
3f93d42 | Nathan Shively-Sanders | 14 April 2021, 23:56:37 UTC | Fix @typedef/@callback scope (#43682) JSDoc typedefs don't actually have hosts, because they're not semantically attached to a declaration. However, the parser still attaches them to some declaration (or statement), but that declaration is not related to the typedef. Previously, delayedBindJSDocTypedefTag used getJSDocHost to walk past the unrelated declaration, but #41858 correctly started categorising typedefs as unattached, with no host, so the binder began falling back to file scope. The path to skip the unrelated declaration is always the same, though, so this PR uses `typeAlias.parent.parent` instead of `getJSDocHost(typeAlias)`. | 14 April 2021, 23:56:37 UTC |
3ab6809 | Wesley Wigham | 14 April 2021, 23:55:45 UTC | Consider identical instances of the same symbol equivalent when creating union and intersection properties (#43560) * Consider identical instances of the same symbol equivalent when creating union and intersection properties * Also copy over mapper and type (if available) on cloned symbols * Editorial feedback | 14 April 2021, 23:55:45 UTC |
6c7c5e9 | Wesley Wigham | 14 April 2021, 20:13:02 UTC | Expand exception to contravariant constraint elision to all type variables (#43599) * Expand exception to contravariant constraint elision to all type variables * Comment update | 14 April 2021, 20:13:02 UTC |
f74f9ca | Andrew Branch | 13 April 2021, 23:17:52 UTC | Add telemetry properties for import statement completions (#43664) | 13 April 2021, 23:17:52 UTC |
e87a0be | Oleksandr T | 13 April 2021, 23:11:58 UTC | fix(43444): add support JSDoc function signatures on returned function expressions (#43607) Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com> | 13 April 2021, 23:11:58 UTC |
6a3d689 | Nathan Shively-Sanders | 13 April 2021, 22:30:22 UTC | Add jsdoc to all js statements (#43659) * Add jsdoc to if statements This should only happen in JS files, however, and there needs to be some conditional handling of jsdoc on statements that can't have jsdoc in TS files. * Finish change * Add test | 13 April 2021, 22:30:22 UTC |
5977233 | Anders Hejlsberg | 13 April 2021, 22:17:55 UTC | Reinstate constraint check for template literal types (#43661) * Add missing constraint check for template literal types * Add regression test | 13 April 2021, 22:17:55 UTC |
5a6a499 | Armando Aguirre | 13 April 2021, 22:06:34 UTC | Fix sending correct symbol when using commonjs require and destructuring (#43511) * Fix sending correct symbol when using commonjs require and destructuring * Check BindingElement | 13 April 2021, 22:06:34 UTC |
6002cff | Wesley Wigham | 13 April 2021, 20:13:32 UTC | Trim indexed access and type variable constraint error output (#43540) | 13 April 2021, 20:13:32 UTC |
06a7365 | Andrew Branch | 13 April 2021, 19:15:48 UTC | Don’t error for missing await when promise is referenced in condition body (#43593) | 13 April 2021, 19:15:48 UTC |
d601221 | Nathan Shively-Sanders | 13 April 2021, 15:13:18 UTC | @link and @see resolve C.m as a class property reference (#43625) * Test + Initial scribbles The test is pretty good, the scribbles are actually cleanup from last PR, although they break some tests. * undo scribbles, add nonworking class-hack * Ad-hoc name resolution for @link and @see Turns out that you can't reuse check* functions if you want to retrieve all meanings of a reference. * fix failing test * inline hapax function * Fix find-all-refs baseline print * Try to resolve C.m as static first * Add interface tests Co-authored-by: Andrew Branch <andrew@wheream.io> | 13 April 2021, 15:13:18 UTC |
7c10135 | Nathan Shively-Sanders | 12 April 2021, 17:20:44 UTC | Don't start jsdoc tag before whitespace (#43602) Fixes #43580 | 12 April 2021, 17:20:44 UTC |
0487b38 | Kunal Desai | 12 April 2021, 10:43:47 UTC | Catch hover on as const (#43588) * Catch hover on as const * Update test based on feedback | 12 April 2021, 10:43:47 UTC |
5d8a4a1 | TypeScript Bot | 12 April 2021, 06:08:08 UTC | Update package-lock.json | 12 April 2021, 06:08:08 UTC |
131875b | TypeScript Bot | 10 April 2021, 06:07:35 UTC | Update package-lock.json | 10 April 2021, 06:07:35 UTC |
716441d | Eli Barzilay | 09 April 2021, 09:08:39 UTC | Process only existing files and directories in the test harness `fs.statSync` throws `ENOENT` if there is a symlink to a nonexistent target. This can be avoided by checking that the entry exists before using it. (This is annoying when editing tests in Emacs, since it keeps lock files for modified-but-unsaved files, which are `.#foo` symlinks to a nonexistent target.) | 09 April 2021, 21:53:23 UTC |
b0c2860 | Wenlu Wang | 09 April 2021, 17:43:33 UTC | ignore static and declared member if checking override (#43569) * ignore static member if checking override * Ignore declared member when check override * Check static override too * Add more tests | 09 April 2021, 17:43:33 UTC |
a354a77 | Sang | 09 April 2021, 16:44:44 UTC | Improve rendering of JSDoc comment text with displayparts (#43390) * feat(services): jsdoc use custom name for display parts * fix(services): jsdoc typo * feat(services): revert jsDoc changes * feat(services): jsdoc improve displayparts with more comment kinds Improve rendering of JSDoc comment text with displayparts for: - `@typedef` - `@callback` - `@param` - `@property` * feat(services): jsdoc improve displayparts for template * test: accept baseline * test: update jsdoc parameterName * feat: resolve pr comments * test: add fourslash tests for jsdoc callback, typedef * test: accept baselines * test: revert changes for api baselines * refactor: naming * refactor: code quality * refactor: clean up code as to pr comments | 09 April 2021, 16:44:44 UTC |
75e9c94 | Sheetal Nandi | 08 April 2021, 23:32:09 UTC | While writing tsbuildinfo sort the properties of compiler options to make sure they stay same if nothing changes. (#43601) Fixes #43571 | 08 April 2021, 23:32:09 UTC |
9705547 | TypeScript Bot | 08 April 2021, 08:47:47 UTC | Update package-lock.json | 08 April 2021, 08:47:47 UTC |
fe4a670 | Josh Goldberg | 07 April 2021, 23:03:17 UTC | Specified diagnostic for CLI flags mismatched with/out --build (#43199) * Specified diagnostic for CLI flags missing a required --build * Switched to an alternateMode member * Added --build-incompatible flags too * Small fixups to remove a hardcoding * Switched to ||= factories * Not a function * I think I get it now | 07 April 2021, 23:03:17 UTC |
2f82d02 | Armando Aguirre | 07 April 2021, 23:02:26 UTC | Fix Add all missing imports when ordered alphabetically (#43453) * Refactored insertNodeInlistAfter to use next elements position * Consider trivia on insertNodeInListAfter | 07 April 2021, 23:02:26 UTC |
d41943e | Anders Hejlsberg | 07 April 2021, 21:29:46 UTC | Properly handle tagged primitives in control flow analysis (#43538) * Ignore object types in intersections with primitive types * Add regression test * Also handle instantiable types constrained to object types * Add another test * Add ignoreObjects optional parameter to getTypeFacts | 07 April 2021, 21:29:46 UTC |
a4c683b | Josh Goldberg | 07 April 2021, 19:54:27 UTC | Again: Improve error messages for empty DOM interface property access (#43007) * Again: Improve error messages for empty DOM interface property access * containerSeemsToBeEmptyDomElement Co-authored-by: Daniel Rosenwasser <drosenwasser@microsoft.com> * isEmptyObjectType; unescapeLeadingUnderscores * Single tick quotes for now * Undo accidental diagnostic change * Correct new baseline Co-authored-by: Daniel Rosenwasser <drosenwasser@microsoft.com> Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com> | 07 April 2021, 19:54:27 UTC |
905a1fe | Josh Goldberg | 07 April 2021, 18:21:28 UTC | Corrected parsing for decorators on 'this' parameters (#43175) * Corrected parsing for decorators on 'this' parameters * Moved checking to parser and added a specific test * Remove unrelated checker.ts blank line * Missed some baseeline updates... | 07 April 2021, 18:21:28 UTC |
2484210 | Titian Cernicova-Dragomir | 07 April 2021, 15:23:16 UTC | Gh 41788 incorrect output for esprivate with nested class in esnext (#42663) * If target:esnext,then useDefineForClassFields: true will now be the default. * Added error if a private identifier is used in a static a initializer if target:ESNext and useDefineForClassFields:false. * Added test for new useDefineForClassFields default and error message. * Fixed tests after changing the default of useDefineForClassFields to true for target esnext * Fixed code review suggestions. * Updated error message. * Added missing static check for the containing property. Fixed other code review issues. | 07 April 2021, 15:23:16 UTC |
2bb54dc | Nathan Shively-Sanders | 07 April 2021, 15:12:05 UTC | Fix getTypeFromJSDocVariadicType in callback tag (#43562) * Fix getTypeFromJSDocVariadicType in @callback Variadics have never worked there, I think. * add test + fix lint * remove outdated comment | 07 April 2021, 15:12:05 UTC |
c1923e9 | TypeScript Bot | 07 April 2021, 06:08:06 UTC | Update package-lock.json | 07 April 2021, 06:08:06 UTC |
dd1ef88 | Nathan Shively-Sanders | 07 April 2021, 00:07:35 UTC | Use control flow to type CommonJS exports (#42751) * Allow redeclaring CommonJS alias with initial undefined This allows us to read our own output, plus the times when people manually write exactly the same pattern. Fixes #40555 * Use control flow to type commonjs exports 1. Could probably use a *lot* more tests. 2. getTypeOfAlias redoes some work from resolveAlias because it needs to not resolve the alias completely, just to its export. * fix lint, improve jsdoc * Add tests, improve+fix control flow 1. Update the module.exports test to match the exports ones. 2. Add a test of evolving commonjs type. 3. Add a test of assignment as last statement. (1) exposed a bug that required a better synthetic reference. (3) exposed a bug that was most easily fixed by giving source files a `endFlowNode` like functions and setting it in the binder. * fix lint | 07 April 2021, 00:07:35 UTC |
eebb895 | Oleksandr T | 06 April 2021, 19:03:41 UTC | fix(43495): insert Override keyword after accessibility modifier (#43504) | 06 April 2021, 19:03:41 UTC |
3a22b3e | Oleksandr T | 06 April 2021, 18:31:54 UTC | fix(43535): preserves 'override' modifier in JavaScript output (#43536) | 06 April 2021, 18:31:54 UTC |
a56baa7 | TypeScript Bot | 06 April 2021, 15:58:43 UTC | Update user baselines +cc @sandersn (#42842) Co-authored-by: typescript-bot <typescript@microsoft.com> | 06 April 2021, 15:58:43 UTC |
fb87079 | Pig Fang | 06 April 2021, 15:48:44 UTC | Enforce `override` precedes `readonly` (#43545) | 06 April 2021, 15:48:44 UTC |
8581a59 | Oleksandr T | 06 April 2021, 15:46:22 UTC | fix(43347): fix crash occurred when export type to existing commonJs imported name (#43369) | 06 April 2021, 15:46:22 UTC |
f526a38 | Wenlu Wang | 06 April 2021, 14:29:57 UTC | Always grammar checker for override (#43544) | 06 April 2021, 14:29:57 UTC |
3cf26e4 | Zen | 06 April 2021, 14:21:02 UTC | fix(43160): improve error location for functions without explicit return (#43367) * fix(43160): improve error location for functions without explicit return * handle functions returning never | 06 April 2021, 14:21:02 UTC |
3b06ef1 | Michael サイトー 中村 Bashurov | 05 April 2021, 22:29:51 UTC | Add asserts to type only symbols meaning exclusion (#43382) Fixes #42180 | 05 April 2021, 22:29:51 UTC |
ffe925d | Andrew Branch | 05 April 2021, 20:42:25 UTC | Go to definition: pass `unverified` through server (#43483) * Pass `unverified` through server * Update protocol baseline * Fix unit tests * Fix other tests | 05 April 2021, 20:42:25 UTC |
4b556e3 | Sheetal Nandi | 05 April 2021, 20:27:34 UTC | Handle document Registry to distinguish between files with same name and document registry key(compiler options affecting source file) but different ScriptKind (#43474) * Test that fails because of change in scriptKind of untitled file * buckets are keyed with DocumentRegistryBucketKey * Use scriptKind in document Registry to distinguish between files Fixes #42613 | 05 April 2021, 20:27:34 UTC |
2d66517 | Song Gao | 05 April 2021, 20:24:19 UTC | fix quickinfo of narrowed private filed (#43356) * fix quickinfo of narrowed private filed * add test case. * adapt review. | 05 April 2021, 20:24:19 UTC |
a7a010a | Anders Hejlsberg | 05 April 2021, 19:53:38 UTC | Fix getRecursionIdentity function to always return some identity (#43527) * Fix getRecursionIdentity, undo changes from #43435 (but keep tests) * Remove test that takes excessively long to run * Accept new baselines * Fix formatting * Add regression tests * Reinstate test | 05 April 2021, 19:53:38 UTC |
f621d67 | Zuckjet | 05 April 2021, 18:59:45 UTC | fix(42605): support refactoring for export default assignment without equal (#42936) | 05 April 2021, 18:59:45 UTC |
cf8798d | Wesley Wigham | 05 April 2021, 18:47:49 UTC | Make origin union cache key unique for key lists still under construction (#43339) | 05 April 2021, 18:47:49 UTC |
d1b4342 | Wesley Wigham | 05 April 2021, 18:37:51 UTC | Allow nested reverse mapped type printback (#42485) * Optimize interning of reverse mapped types * Style feedback * Whitespace * Update baseline | 05 April 2021, 18:37:51 UTC |
1f1dcd6 | Wesley Wigham | 05 April 2021, 18:10:47 UTC | When reusing input type nodes, only instantiate the type for comparison if it is a this type (#42584) | 05 April 2021, 18:10:47 UTC |
5268264 | Oleksandr T | 05 April 2021, 18:09:33 UTC | fix(43316): omit to suggest converting to async function if a void is explicitly returned (#43358) | 05 April 2021, 18:09:33 UTC |
f03e59e | Wesley Wigham | 05 April 2021, 18:05:33 UTC | Do not covariantly mix in constraints from contravarrying positions (#43439) * Do not covariantly mix in constraints from contravarrying positions * Exclude keyof from constraint variance tracking * Extra test case * Always subtitute on type parameter types | 05 April 2021, 18:05:33 UTC |
2f36065 | Nathan Shively-Sanders | 05 April 2021, 16:22:41 UTC | Add grunt user test (#43510) * Add grunt user test * remove unneeded submodule | 05 April 2021, 16:22:41 UTC |
889a103 | TypeScript Bot | 05 April 2021, 06:08:00 UTC | Update package-lock.json | 05 April 2021, 06:08:00 UTC |
61a9a88 | TypeScript Bot | 04 April 2021, 06:07:40 UTC | Update package-lock.json | 04 April 2021, 06:07:40 UTC |
dfc380a | TypeScript Bot | 03 April 2021, 06:07:38 UTC | Update package-lock.json | 03 April 2021, 06:07:38 UTC |
38da7c6 | Josh Goldberg | 02 April 2021, 17:08:10 UTC | Disabled 'used before initialization' error for optional properties (#43100) * Disabled 'used before initialization' error for optional properties * Expanded tests to include code snippet from issue | 02 April 2021, 17:08:10 UTC |
f9b35cd | Sang | 02 April 2021, 00:02:50 UTC | Add @link jsdoc auto-complete (#43475) * feat(services): jsdoc add link tag name * test: add jsdoc inline test | 02 April 2021, 00:02:50 UTC |
c6a2e45 | Nathan Shively-Sanders | 01 April 2021, 15:42:00 UTC | Add @deprecated to tree walk (#43473) So various things don't crash. Fixes #43472 | 01 April 2021, 15:42:00 UTC |
8f8a579 | Armando Aguirre | 01 April 2021, 01:18:16 UTC | Added BindingElement to isSomeImportDeclaration (#43387) * Added BindingElement to isSomeImportDeclaration * Added tests * Refactores to use getDeclarationOfAlias | 01 April 2021, 01:18:16 UTC |
62f3ccd | Wenlu Wang | 31 March 2021, 22:57:25 UTC | Error if assignment after block (#41115) * Error if assignment after block * Update src/compiler/diagnosticMessages.json Co-authored-by: Daniel Rosenwasser <DanielRosenwasser@users.noreply.github.com> * Fix diags * Error after block Co-authored-by: Daniel Rosenwasser <DanielRosenwasser@users.noreply.github.com> Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com> | 31 March 2021, 22:57:25 UTC |
76a2ae3 | Nathan Shively-Sanders | 31 March 2021, 20:54:53 UTC | Only issue matching token errors on non-dupe locations (#43460) * Only issue matching token errors on non-dupe locations Intead of unconditionally retrieving the last error and attaching a related span, `parseErrorAt` and friends now return the last error and return `false` when there is none. Also make one more place use parseExpectedMatchingBrackets that I missed last time. * Inline parseTokenForError, return undefined not false * skip redundant undefined assignment * address PR comments | 31 March 2021, 20:54:53 UTC |
5b7838e | TypeScript Bot | 31 March 2021, 06:08:04 UTC | Update package-lock.json | 31 March 2021, 06:08:04 UTC |
d51b8cf | Sheetal Nandi | 30 March 2021, 23:04:25 UTC | Do not delete output file names that are same as input file name (#43448) * Add failing test case * Do not delete output file names that are same as input file name Fixes #43116 | 30 March 2021, 23:04:25 UTC |
3dd68b8 | Anders Hejlsberg | 30 March 2021, 22:53:15 UTC | Fix template literal type relations (#43440) * Fix template literal relationships * Accept new baselines * Add regression test | 30 March 2021, 22:53:15 UTC |
819651e | Oleksandr T | 30 March 2021, 22:29:02 UTC | fix(43313): add parentheses to a type assertions (#43315) | 30 March 2021, 22:29:02 UTC |
a8ee22f | Sang | 30 March 2021, 22:24:31 UTC | "fix(services): convert to es6 module generate invalid code with .default" (#43309) | 30 March 2021, 22:24:31 UTC |
b549467 | Andrew Branch | 30 March 2021, 20:18:38 UTC | Consider base types in isArrayLikeType (#43435) * Types that extend Array or ReadonlyArray are automatically array-like * Add React repro to test | 30 March 2021, 20:18:38 UTC |
555ef73 | keerthana1212 | 30 March 2021, 20:13:57 UTC | Adding Diagnostic message for missing ']' and ')' in Array literal and conditional statements (#40884) * Adding Diagnostic message for missing ']' in Array literal * revert change on parseArrayBindingPattern * Adding diagnostic message for if, while, do and with statements * Extract parseExpectMatchingBrackets Co-authored-by: Keerthana Kanakaraju <kekanaka@microsoft.com> Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com> | 30 March 2021, 20:13:57 UTC |
294a5a7 | Ryan Cavanaugh | 30 March 2021, 04:30:45 UTC | Remote duplicated assignment (#43399) | 30 March 2021, 04:30:45 UTC |
6fd676b | Oleksandr T | 30 March 2021, 00:22:41 UTC | fix(43215): disallow using never as an interface name (#43217) | 30 March 2021, 00:22:41 UTC |
57775ed | Josh Goldberg | 30 March 2021, 00:20:25 UTC | Consider class field properties to redeclare parent definitions (#43194) | 30 March 2021, 00:20:25 UTC |