https://github.com/Microsoft/TypeScript

sort by:
Revision Author Date Message Commit Date
61acd83 Experiment to pre-allocate some containers. 20 September 2021, 23:47:16 UTC
285c0e2 LEGO: Merge pull request 45947 LEGO: Merge pull request 45947 17 September 2021, 23:17:42 UTC
8346143 Fixed trimming comments on the remaining range (#45807) * Fixed trimming comments on the remaining range * Added test 17 September 2021, 21:00:04 UTC
3c27c3a LEGO: Merge pull request 45940 LEGO: Merge pull request 45940 17 September 2021, 17:19:02 UTC
3a4b19c LEGO: Merge pull request 45935 LEGO: Merge pull request 45935 17 September 2021, 11:18:16 UTC
dfc6d7c LEGO: Merge pull request 45931 LEGO: Merge pull request 45931 17 September 2021, 10:37:55 UTC
eda142e Update package-lock.json 17 September 2021, 06:06:23 UTC
b23f44a Simplify a branch of the Awaited type and clean up comments (#45918) 16 September 2021, 22:04:09 UTC
6aaefe4 Remove vestigial baselines (#45916) * Remove vestigial baselines * Update Baselines and/or Applied Lint Fixes * Add --quiet Co-authored-by: TypeScript Bot <typescriptbot@microsoft.com> 16 September 2021, 19:49:47 UTC
534fc14 fix(45850): Preserve const enums should keep import refs for exported const enums exported via named exports (#45858) 16 September 2021, 17:15:41 UTC
b2a6b49 LEGO: Merge pull request 45914 LEGO: Merge pull request 45914 16 September 2021, 17:13:44 UTC
b250f0c Fix main by using '.default' on the new ms release (#45910) * Fix main by using '.default' on the new ms release * Lock to v2 * Update v1 lockfile * Revert code change 16 September 2021, 16:52:54 UTC
f7a8002 Fix for resolvedTrueType and resolvedFalseType of conditionType not resolved (#45838) * Fix for Issue #45537 * tests/baselines/reference/* files updated 16 September 2021, 16:26:43 UTC
a4364dc Update pr_owners.txt (#45911) 16 September 2021, 16:20:00 UTC
4dde5cc Update package-lock.json 16 September 2021, 06:06:02 UTC
d16ece0 LEGO: Merge pull request 45904 LEGO: Merge pull request 45904 16 September 2021, 05:13:36 UTC
a42fcf2 LEGO: Merge pull request 45895 LEGO: Merge pull request 45895 15 September 2021, 23:13:23 UTC
add85e1 fix: add corresponding message for override error in js files (#45656) * fix: add override errors for js class members * fix: test failures of js override error message * update diagnostic messages * fix: test errors * fix: lint errors 15 September 2021, 22:19:58 UTC
b2f9432 Support resolving `@typescript/[lib]` in node modules (#45771) * Support resolving @typescript/x for libs * Baselines * Tightens up the PR * Fix the build * Add cache * Better naming * Fixes the lookup path 15 September 2021, 20:25:08 UTC
7cba519 Go back to the old spelling of NumberFormatPartTypes to not break DT (#45889) 15 September 2021, 17:21:39 UTC
61ddc51 LEGO: Merge pull request 45892 LEGO: Merge pull request 45892 15 September 2021, 17:14:24 UTC
c620266 Update package-lock.json 15 September 2021, 06:05:55 UTC
40fa0c9 fix(44880): allow narrowing aliased conditions for catch variables (#45797) 14 September 2021, 17:05:36 UTC
4f8aa52 feat(45679): support 'did you mean' diagnostics for string literal union (#45723) * feat(45679): support 'did you mean' diagnostics for string literal union * Format suggested type with `typeToString` * Address feedback 14 September 2021, 15:53:36 UTC
8523ac8 Update package-lock.json 14 September 2021, 06:10:48 UTC
2eecb3d Adds back NumberFormatPartType to the global types from intl (#45843) 13 September 2021, 19:02:38 UTC
5b84512 Fix infinite recursion in control flow analyzer inlining logic (#45845) * Move inlineLevel counter to main type checker scope * Add regression test 13 September 2021, 18:02:55 UTC
e03600f fix(45840): remove duplicate entries in diagnosticMessages.json (#45841) 13 September 2021, 17:50:13 UTC
768291f Update package-lock.json 13 September 2021, 06:06:55 UTC
4ae6072 LEGO: Merge pull request 45842 LEGO: Merge pull request 45842 12 September 2021, 11:15:08 UTC
db2573c LEGO: Merge pull request 45837 LEGO: Merge pull request 45837 12 September 2021, 05:13:58 UTC
7b9506d LEGO: Merge pull request 45833 LEGO: Merge pull request 45833 11 September 2021, 23:13:44 UTC
b36511a LEGO: Merge pull request 45832 LEGO: Merge pull request 45832 11 September 2021, 17:14:00 UTC
f96b4f9 LEGO: Merge pull request 45831 LEGO: Merge pull request 45831 11 September 2021, 11:15:14 UTC
8dc2c14 LEGO: Merge pull request 45829 LEGO: Merge pull request 45829 11 September 2021, 05:15:39 UTC
9e0ddfd LEGO: Merge pull request 45827 LEGO: Merge pull request 45827 10 September 2021, 23:14:24 UTC
13bdc03 Intl fix for nightly (#45820) * Fix #45804 * Update src/lib/es2020.intl.d.ts Co-authored-by: Andrew Branch <andrewbranch@users.noreply.github.com> * More fixes * Adds a test Co-authored-by: Andrew Branch <andrewbranch@users.noreply.github.com> 10 September 2021, 18:46:46 UTC
5820f82 LEGO: Merge pull request 45822 LEGO: Merge pull request 45822 10 September 2021, 17:13:46 UTC
0af2497 LEGO: Merge pull request 45816 LEGO: Merge pull request 45816 10 September 2021, 11:15:30 UTC
7e400b4 Update package-lock.json 10 September 2021, 06:06:12 UTC
02dac16 LEGO: Merge pull request 45812 LEGO: Merge pull request 45812 10 September 2021, 05:14:22 UTC
ea521d4 Adds 'Awaited' type alias and updates to Promise.all/race/allSettled/any (#45350) * Adds 'Awaited' type alias and updates to Promise.all/race/allSettled/any * Use Awaited<T> with 'await' * Clean up overloads * Further restrict 'Awaited<T>' auto-wrapping for 'await' 10 September 2021, 01:23:17 UTC
cdd9314 LEGO: Merge pull request 45808 LEGO: Merge pull request 45808 09 September 2021, 23:14:12 UTC
594f61e LEGO: Merge pull request 45803 LEGO: Merge pull request 45803 09 September 2021, 17:13:55 UTC
5186ee3 Track non-null unknown types in control flow analysis (#45575) * Track non-null unknown types in CFA * Add tests 09 September 2021, 16:20:44 UTC
630012a Update package-lock.json 09 September 2021, 06:07:05 UTC
cf787e9 Fix name resolution in typedef and allow defaults for template tags (#45483) * Fix name resolution in typedef and allow defaults for template tags * Inline parseBracketNameInTemplateTag * Update baselines * Add js declaration emit tests 09 September 2021, 00:05:07 UTC
8610ff5 Add `--preserveValueImports` (#44619) * Add compiler option * Require es2015+ * Do not elide any imports or exports in preserve-exact * Add errors for writing imports/exports that reference elided names * Improve diagnostics wording * Update API baselines * Redo as noEraslingImportedNames * Update option category * Update baselines * Lint * Fix up transformer comments * Fix errors from merge * Update other error code baseline * Rename to "preserveValueImports" * Clean up, reword diagnostics * Update API baselines * Update other baseline affected by error message reword * Update tsconfig baselines * Add debug assertion instead of ! 08 September 2021, 23:30:22 UTC
b9eeb74 Tail recursive evaluation of conditional types (#45711) * Implement tail-recursion for conditional types and lower general instantiation depth limit to 100 * Add tests * Skip caching for tail recursive temporary conditional types 08 September 2021, 22:42:09 UTC
4f5bbd0 Allow type comparison when target is generic mapped type with key remapping (#45700) * Add case for type related to for generic mapped type with as clause target * Clean up code and add baselines * cleanup 08 September 2021, 17:58:52 UTC
617251f feat(45010): handle unclosed fragment in `getJsxClosingTagAtPosition` (#45532) * feat(45010): handle unclosed fragment in `getJsxClosingTagAtPosition` * Update tests * Fix types of `JsxText.parent` and `JsxExpression.parent` 08 September 2021, 16:22:38 UTC
07fd7bc Intl 2021 Updates (#45647) * Import of Intl.Locale from #39664 * Handle updating es2020.intl and add es2021 for new DateTimeFormatOptions options - re: #39664 * Extends DateTimeFormatOptions for new Intl APIs - re: #45420 * Handle migrating Intl.NumberFormat.formatToParts to es2018 (keeping esnext.intl around) * Adds Intl.DisplayNames to es2020 - re: #44022 * Remove attributes added in es2021 from es2020 - re: #42944 * Add a reference to es2021 in the command line parser * Adds some docs about the lib files * Baselines * Allow undefined in Intl inputs to allow for ergonomic usage of exactOptionalPropertyTypes - see #45652 * Adds some tests covering the APIs * Apply suggestions from code review Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com> * Handle PR feedback * More review improvements Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com> 08 September 2021, 09:43:01 UTC
32168ed Add support for raising if you set a tsconfig entry of target/module with the right setting in the root (#44964) * Add support for raising if you set a tsconfig entry of target/module with the right setting in the root * Switch to check for any compiler option in the root which doesn't include compilerOptions * Get green * Apply suggestions from code review Co-authored-by: Andrew Branch <andrewbranch@users.noreply.github.com> * Update src/compiler/commandLineParser.ts Co-authored-by: Daniel Rosenwasser <DanielRosenwasser@users.noreply.github.com> Co-authored-by: Andrew Branch <andrewbranch@users.noreply.github.com> Co-authored-by: Daniel Rosenwasser <DanielRosenwasser@users.noreply.github.com> 08 September 2021, 09:17:43 UTC
c8ada74 Update package-lock.json 08 September 2021, 06:06:12 UTC
be618b1 Stop looking at binding patterns for type argument inference (#45719) * Ignore empty binding patterns for contextual typing * Stop looking at binding patterns for type argument inference entirely 08 September 2021, 00:14:06 UTC
bac841e Fix missing abstract keyword in completion (#45710) * first commit * tests 07 September 2021, 20:20:58 UTC
7032f6b Include index signatures for tagged primitives in keyof (#45773) * Properly include tagged primitive types in keyof * Add regression test 07 September 2021, 17:46:13 UTC
3c8e45b Update package-lock.json 07 September 2021, 06:06:12 UTC
3488e6e Update package-lock.json 06 September 2021, 06:06:23 UTC
8894262 LEGO: Merge pull request 45725 LEGO: Merge pull request 45725 04 September 2021, 17:13:34 UTC
dbf3cd3 Update package-lock.json 04 September 2021, 06:06:36 UTC
0246f26 LEGO: Merge pull request 45720 LEGO: Merge pull request 45720 03 September 2021, 23:13:40 UTC
1d51dfa improve error message for using property of type as type (#45354) * improve error message for using property of type as type * suggest typeof when possible * fix naming and error location 03 September 2021, 19:17:50 UTC
d514a69 LEGO: Merge pull request 45709 LEGO: Merge pull request 45709 03 September 2021, 11:15:22 UTC
66441e2 LEGO: Merge pull request 45706 LEGO: Merge pull request 45706 03 September 2021, 05:13:54 UTC
a53ab09 Don't suppress comments when adding or removing braces to/from arrow function. (#45597) Fixes microsoft/typescript#44228, microsoft/typescript#44229. 03 September 2021, 01:05:16 UTC
b1df3fe LEGO: Merge pull request 45699 LEGO: Merge pull request 45699 02 September 2021, 23:13:45 UTC
ba3a068 fix(45687): allow selection to next token (#45695) 02 September 2021, 18:57:37 UTC
35ada35 LEGO: Merge pull request 45694 LEGO: Merge pull request 45694 02 September 2021, 17:13:45 UTC
5daa6f4 Revert "fix(45501): don't remove spaces between empty object literals with enabled insertSpaceAfterOpeningAndBeforeClosingEmptyBraces (#45514)" (#45682) This reverts commit 076f22b2c993a0acb17a234066409439d5541d6d. 02 September 2021, 00:47:27 UTC
1a981d1 Remove unused code coverage command (#45684) 01 September 2021, 22:39:10 UTC
6f7f3b1 Minor fixes to "Convert To Async" refactor (#45536) * Minor fixes to convertToAsync * Back out on nested return in inner continuation * Baseline update * Verify type argument for call can be used, add a few more early exit shortcuts 01 September 2021, 20:13:12 UTC
f9a3d85 Fix the default text for --useDefineForClassFields (#45513) * Fix the default text for --useDefineForClassFields * Update with feedback 01 September 2021, 14:10:47 UTC
6b08668 Update package-lock.json 01 September 2021, 06:06:07 UTC
80a1b5e Update package-lock.json 31 August 2021, 06:09:32 UTC
f598076 Close package json watches in watch mode on close (#45642) 30 August 2021, 19:53:26 UTC
d699bcd Update lib types to mark Annex B as deprecated (#43710) * Mark properties defined in Annex B as deprecated * Tweak * Update baselines * Update fourslash tests * Add completionsStringMethods.ts test * Fix sortText value in fourslash test for deprecated tags * Update package-lock.json * Update package-lock.json * Mark Non-standard RegExp Constructor properties as deprecated * Update baselines Co-authored-by: TypeScript Bot <typescriptbot@microsoft.com> 30 August 2021, 17:38:07 UTC
7849342 Update package-lock.json 30 August 2021, 06:08:39 UTC
9d81536 Fix verify.baselineCompletions (#45615) 30 August 2021, 04:53:42 UTC
fd067e9 Update package-lock.json 29 August 2021, 06:05:49 UTC
c7a00c2 Update package-lock.json 28 August 2021, 06:06:01 UTC
107c556 Fix 'as const'-like behavior in JSDoc type cast (#45464) 28 August 2021, 01:22:02 UTC
1dc1efb Update es5.d.ts (#45454) * Update es5.d.ts Fix grammar error. * Update src/lib/es5.d.ts * Update src/lib/es5.d.ts Co-authored-by: Daniel Rosenwasser <DanielRosenwasser@users.noreply.github.com> 27 August 2021, 06:10:25 UTC
9f025b9 Don't include literals from enum members in completions (#45588) * don't include literals from enum members in completions * add enum symbol to completions test * use symbol flags for detecting enum member * use type flags to check for enum member * fix test 26 August 2021, 23:33:06 UTC
7fc1cb4 Use realpathSync.native on case-insensitive file systems (#44966) * Make getSourceOfProjectReferenceRedirect take a Path * Add useCaseSensitiveFileNames to ModuleResolutionHost ...so that path comparisons can use it during module resolution. * Re-enable realpathSync.native for case-insensitive file systems 26 August 2021, 22:35:04 UTC
983ddf5 Update packages (#45587) 26 August 2021, 19:06:12 UTC
6cdc7d1 Update package-lock.json 26 August 2021, 06:06:17 UTC
2a2962a Properties on intersections should be readonly only if all declarations are (#45263) Fixes #45122 25 August 2021, 23:55:14 UTC
30103de Let AutoImportProviderProject resolve JS when allowJs and maxNodeModulesJsDepth allows (#45524) * Let AutoImportProviderProject resolve JS when allowJs and maxNodeModulesJsDepth allows * Simplify function 25 August 2021, 22:06:14 UTC
db0576c LEGO: Merge pull request 45568 LEGO: Merge pull request 45568 25 August 2021, 00:00:47 UTC
ead9dfb Fixed JS completions type spread (#45484) * Fix and updated tests * Added test * Revert "Fix and updated tests" This reverts commit 33829fa4a4a4cc0b54d3793ced9a31fa42930e3a. * Filter out empty access expression * PR feedback 24 August 2021, 21:54:19 UTC
b45e129 Add rich navigation indexing action (#45431) * Add rich navigation indexing action * Remove dbaeumer/richNav from indexed branches * Move lsifrc file to .github folder * Remove dbaeumer/richNav 24 August 2021, 20:38:11 UTC
076f22b fix(45501): don't remove spaces between empty object literals with enabled insertSpaceAfterOpeningAndBeforeClosingEmptyBraces (#45514) 24 August 2021, 18:28:58 UTC
41dcad0 Adds a script for removing unused diagnostics (#44324) * Adds a script for removing unused diagnostics * Accidentally deleted the wrong one 24 August 2021, 12:03:18 UTC
7117f03 Update CONTRIBUTING.md (#45552) 24 August 2021, 07:15:15 UTC
59b8bef Only provide hints for simple literals when 'literals' is specified. (#45557) * Only provide hints for simple literals when 'literals' is specified. * Update fourslash tests. 23 August 2021, 23:38:26 UTC
af54990 Some cleanup around inlay hints types to get more-precise checking. (#45391) * Some cleanup around inlay hints types to get more-precise checking. * Update Baselines and/or Applied Lint Fixes Co-authored-by: TypeScript Bot <typescriptbot@microsoft.com> 23 August 2021, 23:15:54 UTC
b8ace9d Restore HTMLDocument constructable value in DOM (#45554) Don't touch anything else in the DOM. 23 August 2021, 22:56:11 UTC
8362a0f Update package-lock.json 21 August 2021, 06:06:20 UTC
d18e82b fix for 45006 (#45020) * fix for 45006 * treat setters like getters in preceding commit; move test accordingly * fix test baselines * changes per code review in `getContainerFlags`, move cases for get/set accessors to fallthrough into the block that currently handles MethodDeclaration; so get/set accessors and method declarations all get the same container flags, such that during `bindContainer`, `startFlow.node` is assigned to getters/accessors (this changes a public api in tsserverlibrary.d.ts and typescript.d.ts by adding `GetAccessorDeclaration` and `SetAccessorDeclaration` to the type of `FlowStart.node`) consolidate predicates checking whether a node is either a get or set accessor, into `isObjectLiteralOrClassExpressionMethodOrAccessor` (formerly `isObjectLiteralOrClassExpressionMethod`) annotate updated test with `@target: es2020` * fix `isObjectLiteralOrClassExpressionMethodOrAccessor` require that Getter/Setters are parented by an ObjectLiteralExpression or ClassExpression 21 August 2021, 00:05:19 UTC
back to top