https://github.com/Microsoft/TypeScript

sort by:
Revision Author Date Message Commit Date
7ef66f6 LEGO: Merge pull request 45072 LEGO: Merge pull request 45072 16 July 2021, 17:13:11 UTC
d8f2aae Shorten baseline names (#45054) Fixes #45051 16 July 2021, 17:01:36 UTC
00596e1 fix(44168): exclude adding export to existing exported identifier (#44755) 16 July 2021, 16:40:17 UTC
23ebe04 fix(44902): resolve members in Union or Intersection types (#44904) 16 July 2021, 16:07:52 UTC
e4da7a9 LEGO: Merge pull request 45067 LEGO: Merge pull request 45067 16 July 2021, 11:13:22 UTC
8268f2a Avoid bogus circularity error on context sensitive constructor property assignments (#44601) * Avoid bogus circularity error on context sensitive constructor property assignments * Add JS case and ensure its fixed 16 July 2021, 00:06:56 UTC
87cff4e LEGO: Merge pull request 45060 LEGO: Merge pull request 45060 15 July 2021, 23:13:30 UTC
6d3772f Fix auto import require of CJS module with module:es2015+ and allowSyntheticDefaultExports (#44955) 15 July 2021, 23:08:05 UTC
541e553 Specific diagnostic suggestions for unexpected keyword or identifier (#43005) Error message improvement for unexpected tokens in the following situations: * A word was parsed that seems to have a low edit distance from a known common keyword * A word was parsed that seems to be a known common keyword and a name _without_ a space in-between * Parsing in a particular type of node (mostly a class property declaration) got a different word or token than expected ___ * Specific diagnostic suggestions for unexpected keywords or identifier * Don't reach into there, that's not allowed * Improved error when there is already an initializer * Specific module error message for invalid template literal strings * Skip 'unexpected keyword or identifier' diagnostics for declare nodes * Improve error for function calls in type positions * Switch class properties to old diagnostic * Corrected errors in class members and reused existing textToKeywordObj map * Corrected more baselines from the merge * Update src/compiler/parser.ts Co-authored-by: Daniel Rosenwasser <DanielRosenwasser@users.noreply.github.com> * Mostly addressed feedback * Clarified function call type message * Split up and clarified parsing vs error functions * Swap interface name complaints back, and skip new errors on unknown (invalid) tokens * Used tokenToString, not a raw semicolon * Inline getExpressionText helper * Remove remarks in src/compiler/parser.ts Co-authored-by: Daniel Rosenwasser <DanielRosenwasser@users.noreply.github.com> 14 July 2021, 20:50:55 UTC
3358f13 Fix namespace name conflict detection in "Convert named imports to namespace import" action (#45019) * fix namespace conflict detection 14 July 2021, 18:07:12 UTC
2b8296b chore(typo): fix comment (#45016) 14 July 2021, 16:28:48 UTC
9247ef1 Update package-lock.json 14 July 2021, 06:06:00 UTC
40ec839 Fixes JSDoc @type function with variable args is interpreted incorrectly (#44864) * Fixes #44386 * Add test * Move test from fourslash to conformance 14 July 2021, 00:17:24 UTC
0996bff Support syntactic diagnostics in partial mode (#44859) * Initial work to support syntactic diagnostics in partial mode. * Test out 'syntacticDiagnosticsSync' requests. * Added a 'geterr' test. * Accepted baselines. * Remove/clean up comments. 13 July 2021, 18:22:34 UTC
acdf62f Fix "Union types are not being narrowed down correctly in 4.3 #44401" (#44771) * Fix "Union types are not being narrowed down correctly in 4.3 #44401" * On undefined constraint, add the original type to constraints. 13 July 2021, 18:02:18 UTC
c17fd8c Update package-lock.json 13 July 2021, 06:06:06 UTC
f453a28 LEGO: Merge pull request 45000 LEGO: Merge pull request 45000 13 July 2021, 05:13:14 UTC
8e855d1 Watch mode watches for changes in package.json files used in resolution (#44935) * watch mode watches for changes in package.json files used in resolution * Pathify result of realpath * Actually accept pathified baselines 13 July 2021, 00:23:08 UTC
0746f70 LEGO: Merge pull request 44989 LEGO: Merge pull request 44989 12 July 2021, 17:14:10 UTC
3c604f1 LEGO: Merge pull request 44987 LEGO: Merge pull request 44987 12 July 2021, 11:13:35 UTC
ed6007d LEGO: Merge pull request 44982 LEGO: Merge pull request 44982 12 July 2021, 05:18:01 UTC
bcb1911 LEGO: Merge pull request 44979 LEGO: Merge pull request 44979 11 July 2021, 23:18:31 UTC
db56193 LEGO: Merge pull request 44977 LEGO: Merge pull request 44977 11 July 2021, 17:13:09 UTC
66c3063 Add collision check for 'Reflect' when using super in static initializers (#44876) * Add collision check for 'Reflect' when using super in static initializers * PR feedback * Accept baseline for new failing test 10 July 2021, 19:48:54 UTC
6ee8154 Update package-lock.json 10 July 2021, 06:05:44 UTC
8e79510 Update package-lock.json 09 July 2021, 06:05:48 UTC
a15030f fix(35050): Decorator emit incorrect within `try` block (#41951) * fix(35050): fix decorated block-scoped class emit * Only use internal name when targeting ES5/3 Co-authored-by: Ron Buckton <ron.buckton@microsoft.com> 08 July 2021, 17:48:02 UTC
e881a69 Detect circularities printing recursive conditional types (#43733) 08 July 2021, 16:19:58 UTC
2f3cd38 Update package-lock.json 08 July 2021, 06:06:03 UTC
8590f0d Fix decorator emit regression for static fields (#44933) 07 July 2021, 23:58:36 UTC
c0821ae fix(44926): change noImplicitOverride description (#44929) 07 July 2021, 17:43:44 UTC
1de29af Update package-lock.json 07 July 2021, 06:06:13 UTC
4d5978d Apply disableReferencedProjectLoad to getOriginalLocationEnsuringConfiguredProject (#44836) * Apply disableReferencedProjectLoad to getOriginalLocationEnsuringConfiguredProject * Reuse previously computed values and refine comments * Add baselines for test matrix 06 July 2021, 22:22:48 UTC
bb7de99 Improve "Convert to template string" with template-strings Fixes #44396 06 July 2021, 22:14:58 UTC
8e01a86 Consistently ignore attributes with hyphenated names in JSX (#44873) * Consistently skip attributes with hyphenated names in JSX * Add regression test * Accept new baselines * Fix tests * Accept new baselines 06 July 2021, 20:29:51 UTC
1da18c6 Refactor export map cache to not store transient symbols (#44816) * Add some failing tests around transient symbols * Working, but slower * A class is much faster, apparently * This is probably best? * Back to multimap * Go back to single symbol cache * Revert now-unnecessary generics * Rename and reorganize * Fix weird compound condition * Clean up 06 July 2021, 17:04:59 UTC
fc5c765 fix(44868): handle import type in shorthand assignment (#44881) 06 July 2021, 15:29:09 UTC
f58a662 Update package-lock.json 05 July 2021, 06:05:57 UTC
b539c9a Update package-lock.json 04 July 2021, 06:06:07 UTC
069650f Change PerformanceObserver to be compatible with new Node types (#44884) 04 July 2021, 04:26:56 UTC
0940652 Add evaluation tests for class static initializers (#44878) 04 July 2021, 01:30:42 UTC
be5bf3e Update package-lock.json 03 July 2021, 06:06:16 UTC
8b496ed Fix class name reference in class expr (#44877) 03 July 2021, 01:37:23 UTC
62f9155 Update package-lock.json 02 July 2021, 06:07:09 UTC
248b2c3 Further optional delete corrections (#44862) * Add more tests. * Accepted baselines. * Switch to testing the symbol's flags. * Accepted baselines. 02 July 2021, 01:44:22 UTC
e3d6189 Correctly check for 'delete' on optional properties in 'exactOptionalPropertyTypes'. (#44854) * Check for optionality in 'delete'. * Accepted baselines. 01 July 2021, 22:19:11 UTC
9d443b7 Update LKG to enable improved narrowing in 4.4. (#44842) * Update LKG. * Remove unnecessary assertions. 01 July 2021, 19:21:27 UTC
d308b99 Update package-lock.json 01 July 2021, 06:06:07 UTC
e402c1d feat(44799): allow auto import codefix for shorthand property assignment (#44827) 30 June 2021, 21:09:42 UTC
813ddf7 ensure export modifier is used before default modifier (#44570) * ensure export modifier is used before default modifier * gracefully handle `default function` * Revert "gracefully handle `default function`" This reverts commit 1d8e2887540f5abaa8b7192fee89ef8935be8640. * give better error message on default without leading export 30 June 2021, 16:43:14 UTC
837ed96 Update package-lock.json 30 June 2021, 06:11:21 UTC
3c30b74 Update LKG 30 June 2021, 01:40:28 UTC
257da12 Merge remote-tracking branch 'origin/main' into release-4.4 30 June 2021, 00:43:46 UTC
5c8d763 fix(44448): disallow 'delete' operator for optional properties (#44612) 29 June 2021, 23:56:45 UTC
4c19873 Validate symbol-named properties against symbol index signatures (#44815) * Validate symbols against both symbol and string index signatures * Add tests * Accept new baselines 29 June 2021, 21:53:07 UTC
114f68c fix(44725): handle this parameter in tagged template call (#44734) 29 June 2021, 21:11:35 UTC
fdc31ba Fix types in the boolean trivial lint rule (#44801) 29 June 2021, 18:53:35 UTC
f47ddbc Fix bad line number assertion in `ScriptInfo.positionToLineOffset` This is the line number side of ecddf8468f (from #21924, fixing #21818). But the code is slightly improved for both cases: instead of testing that `leaf` is defined, check whether `lineCount` is zero, and if it is, return `〈1,0〉` for the one-based line and zero-based column numbers. (The requirement of `lineCount > 0` is also seen in the fact that `lineNumberToInfo` expects a "*One*BasedLine" argument.) I've stared at this code way too much, since I think that there is something more fundamentally wrong here. E.g., `EditWalker` only `push`es to `startPath` but never pops even a `children`-less node that is left after deleting the whole contents. But I can't figure out the overall structure, which is also why the test that I added is not great (see the comment there; also, #21924 is dealing with the same problem and didn't add a test). Fixes #44518. 29 June 2021, 18:13:44 UTC
5cea46c Update package-lock.json 29 June 2021, 06:05:59 UTC
59225a6 Bump version to 4.4.0-beta and LKG 29 June 2021, 00:14:56 UTC
5f8a9e5 Fix constant reference check in CFA (#44762) * Check entire access path is constant when narrowing by inlining * Add tests * Accept new baselines * Added test cases for parameter properties. * Accepted baselines. Co-authored-by: Daniel Rosenwasser <DanielRosenwasser@users.noreply.github.com> 28 June 2021, 23:41:17 UTC
c0d5c29 Reduce exceptions (#44710) * Don't visit non-existent basePaths * Stop trying to add file watchers after hitting the system limit * Update tests 28 June 2021, 22:45:35 UTC
066796b feat(44736): add go-to-definition on overridden members (#44740) 28 June 2021, 21:58:06 UTC
54b913c Issue unawaited promise error on symbol-less expressions (#44491) * Issue unawaited promise error on symbol-less expressions * Use same behavior for call expressions * Revert "Use same behavior for call expressions" This reverts commit 60d58132e4ecfba063b5c9df06acdd05b25decdf. 28 June 2021, 17:35:58 UTC
4890312 LEGO: Merge pull request 44791 LEGO: Merge pull request 44791 28 June 2021, 17:13:00 UTC
6824480 Update package-lock.json 28 June 2021, 06:06:29 UTC
a6c914e LEGO: Merge pull request 44780 LEGO: Merge pull request 44780 28 June 2021, 05:13:03 UTC
67357cd LEGO: Merge pull request 44776 LEGO: Merge pull request 44776 27 June 2021, 23:13:07 UTC
3b2bc85 LEGO: Merge pull request 44770 LEGO: Merge pull request 44770 27 June 2021, 17:13:36 UTC
a7a0d25 Update package-lock.json 27 June 2021, 06:06:02 UTC
5dbb7d3 LEGO: Merge pull request 44766 LEGO: Merge pull request 44766 27 June 2021, 05:12:53 UTC
0b3a154 LEGO: Merge pull request 44763 LEGO: Merge pull request 44763 26 June 2021, 23:14:05 UTC
8c8d22d LEGO: Merge pull request 44757 LEGO: Merge pull request 44757 26 June 2021, 17:13:11 UTC
11b3867 Update package-lock.json 26 June 2021, 06:05:58 UTC
1ae6b8b Forbid duplicate tests only in compiler+fourslash runner (#44752) * Forbid duplicate tests only in compiler runner Not in fourslash, user, docker, etc. * Include fourslash, but exempt shims and server 26 June 2021, 00:33:31 UTC
dc237b3 Change static fields emits (#43114) * use emit into iife * Update emit * Revert un-related changes * Allow super in static context * Allow this and super in static property declaration * Add more tests * Avoid errors * Accept baseline * Accept baseline * Add decorated classes test * Add errors * Avoid this in emitter * make lint happy * Add class expression tests * Add computed name test * Avoid super if target below es6 * Adjust function boundary * Add internal * Fix minor CR issues * accept baseline * Update behavior * Avoid spaces * Make lint happy * Avoid function boundary utils * Update baseline * Avoid errors * Accept baseline * Accept baseline * Accept baseline * Accept baseline * Use substitutions * Full coverage for super, this, merge static and private context * Fix use-before-def in static fields Co-authored-by: Ron Buckton <ron.buckton@microsoft.com> 25 June 2021, 22:49:27 UTC
328e888 Resolve module specifiers for auto imports in completion list (in incomplete chunks) (#44713) * Enable module specifiers for all auto imports * Use isIncomplete * isIncomplete continuation * Lots of fixes * Merged/transient symbol fixes, resolve all ambient module specifiers up front, pull as many as we want from cache * Fix existing tests * Start testing * Add more tests * Set cache attempt limit, update API baseline * Fix a few tests * Fix contextToken * Split getModuleSpecifiers * Unexport function * Clean up importFixes * Clean up completions * Delete transient symbol assertion - fixing later 25 June 2021, 22:26:53 UTC
7c47be7 fix(44738): fix eslint rules (#44739) 25 June 2021, 21:50:19 UTC
9ebe11c Migrate latest dom types into libdom.d.ts (#44684) * Add the types_web dom dts * Update * Adds new DTS * Update baselines 25 June 2021, 21:25:30 UTC
8058619 Control flow analysis of aliased conditional expressions and discriminants (#44730) * CFA inlining of conditional expressions referenced by const variables * Accept new baselines * Add tests * Accept new baselines * Increase inlining limit to 5 levels per design meeting discussion 25 June 2021, 20:59:58 UTC
906cbd2 Proposal class static block support (#43370) * Class static block (#9) * Add types factory and parser * Add some case * Make class static block as a container * Update cases * Add visitor * Add emitter and more compile target * Check boundary of break and continue * Add basic transformer * Fix emit behavior * Add more tests * Add friend tests * Update baseline * Fix cr issues * Accept baseline * Add decorator and modifier check * Add functional boundary check * Fix conflict * Fix computed prop name within context * Add more tests * Update baseline * Avoid invalid test baseline * Support use before initialize check * wip * Fix class static block context * Fix checks * Fix missing case * Improve assert message * Accept baseline * Avoid new context * Update diagnostic message * Fix name collision * Fix targets * Avoid unnecessary files * Add more case * Add more test cases * Fix strict mode function declaration * Avoid private fields initializer if no private identifier references * Avoid private fields and add more test case * Add more case * Add tests and support for related services functionality * Fix this reference in static block * Split parser diagnostic and binder diagnostic Co-authored-by: Ron Buckton <ron.buckton@microsoft.com> 25 June 2021, 16:24:05 UTC
1694c77 LEGO: Merge pull request 44741 LEGO: Merge pull request 44741 25 June 2021, 11:18:35 UTC
66b4ba4 Add inlay hints support (#42089) * Add signature arguments label support * Support rest parameters and destruction * make lint * Fix tuple rest parameters * Adjust name styles * Rename to inline hints * Partition inline hints * Adjust range pred * Add function expression like hints * Support configure inline hints * Display hints in single line * Add test suits and tests * Add range tests * Support more hints * Add more options * Fix logical * Add more cases * Support call chains * Rename options * Match lastest protocol * Update protocol changes * Support context value and hover message * Revert "Support context value and hover message" This reverts commit 37a70896337ddd6dd5360d20e7001ed2338a2595. * Revert "Update protocol changes" This reverts commit e5ca31bc30362144c52c1c2512abc553f0c6b869. * Add hover message * Accept baseline * Update src/services/inlineHints.ts Co-authored-by: Daniel Rosenwasser <DanielRosenwasser@users.noreply.github.com> * Update src/services/inlineHints.ts Co-authored-by: Daniel Rosenwasser <DanielRosenwasser@users.noreply.github.com> * Cache across the program * Fix possible undefined * Update protocol changes * Fix missing property * Make lint happy * Avoid call chain hints * I'm bad * Add whitespace before type * Add more tests * Should care about jsdoc * Support complex rest parameter * Avoid module symbol hints * Care about leading comments * Fix CR issues * Avoid changes * Simplify comments contains * Fix CR issues * Accept baseline * Check parameter name before create regex * Rename option * Avoid makers * Skip parens for argument * Fix CR issues * Fix enums * Accept baseline Co-authored-by: Daniel Rosenwasser <DanielRosenwasser@users.noreply.github.com> 25 June 2021, 06:06:34 UTC
2767ab3 Update package-lock.json 25 June 2021, 06:06:02 UTC
c83a430 LEGO: Merge pull request 44737 LEGO: Merge pull request 44737 24 June 2021, 23:13:19 UTC
2b421bf Fix auto imports in opening JSX tag (#44724) 24 June 2021, 22:14:54 UTC
baff2f8 LEGO: Merge pull request 44728 LEGO: Merge pull request 44728 24 June 2021, 17:13:16 UTC
b43bc95 LEGO: Merge pull request 44717 LEGO: Merge pull request 44717 24 June 2021, 11:15:51 UTC
6459ee4 Update package-lock.json 24 June 2021, 06:05:48 UTC
b9bf1a5 LEGO: Merge pull request 44716 LEGO: Merge pull request 44716 24 June 2021, 05:13:11 UTC
aee779a Skip typedef in services getJSDocTags (#43677) * Symbols in services skip @typedef/@callback in jsdoc Fixes #43534 * comment text skips jsdocs that are typedef-only * Skip comment text from typedef-only jsdocs * Skip whole comments instead of individual tags * add semicolons * retain comments from @callback + better comments 23 June 2021, 23:19:14 UTC
ece76e8 LEGO: Merge pull request 44714 LEGO: Merge pull request 44714 23 June 2021, 23:13:19 UTC
ce8e873 regard TemplateLiteral as discriminant property (#44569) 23 June 2021, 22:48:39 UTC
6452cfb LEGO: Merge pull request 44707 LEGO: Merge pull request 44707 23 June 2021, 17:13:36 UTC
fd49b26 json modules should not treated as affecting global scope (#44690) 23 June 2021, 17:04:25 UTC
c29811e LEGO: Merge pull request 44705 LEGO: Merge pull request 44705 23 June 2021, 11:13:17 UTC
36bc242 LEGO: Merge pull request 44704 LEGO: Merge pull request 44704 23 June 2021, 05:12:52 UTC
15b4b32 LEGO: Merge pull request 44703 LEGO: Merge pull request 44703 22 June 2021, 23:18:32 UTC
61ccc49 Fix check for overwritten properties in object spreads (#44696) * Fix check for overwritten properties in object spreads * Accept new baselines * Add tests * Accept new baselines 22 June 2021, 21:39:33 UTC
22637a2 avoid computing a full shape for indirectly invalidated files (#44090) * add shape updates to baselines * avoid computing a full shape for indirectly invalidated files using file version as shape is enough to keep build info valid and it's much cheaper 22 June 2021, 17:33:54 UTC
back to top