https://github.com/Microsoft/TypeScript

sort by:
Revision Author Date Message Commit Date
bb5edf1 Reduce instance size of Identifier 09 January 2023, 21:12:56 UTC
f326cbf Add a test for optional members completions within an object within an index signature constraint (#52149) 09 January 2023, 19:06:07 UTC
2c1fda2 Fixed false positive circular errors for await expressions with simple non-generic calls in CFA loops (#51126) 09 January 2023, 18:56:52 UTC
0056761 Reuse existing module specifiers in js declaration emit (#52089) 09 January 2023, 18:15:42 UTC
11bc7b7 Issue error on export= in esm mode declaration file (#52109) 09 January 2023, 18:15:23 UTC
4b69e13 Basic JSX attribute snippet fixes (#51855) Co-authored-by: Andrew Branch <andrewbranch@users.noreply.github.com> 09 January 2023, 17:13:27 UTC
fdb5dc5 Update package-lock.json 09 January 2023, 06:06:33 UTC
83e8de8 Update package-lock.json 08 January 2023, 06:06:15 UTC
12718ad Update package-lock.json 07 January 2023, 06:06:11 UTC
90fb764 Fix private name generation and missing emit for auto-accessors (#52132) 07 January 2023, 02:08:51 UTC
f1ff0de Use native generators/iterables, remove helper cruft (#51921) 06 January 2023, 22:40:56 UTC
e60c210 Improve JSX invalid children type error (#52105) 06 January 2023, 18:26:53 UTC
400e2c2 Defer conditional types with multi-element tuple types in `extends` clause (#52091) 06 January 2023, 17:18:12 UTC
fc85386 Improve logic that chooses co- vs. contra-variant inferences (#52123) 06 January 2023, 15:56:51 UTC
4b52d3a Update package-lock.json 06 January 2023, 06:06:27 UTC
bfeb927 Remove Push from public API (#52122) 06 January 2023, 00:18:53 UTC
91822db Remove doc folder (old archived spec and assets), word2md script (#51791) 05 January 2023, 21:49:00 UTC
c57fea2 fix(52050): The space before satisfies after an array expression is removed when auto-formatting the statements (#52053) 05 January 2023, 21:30:11 UTC
aae3115 Call `getTypeOfSymbol` in `getNarrowedTypeOfSymbol` to avoid running into circularities when computing types (#51914) 05 January 2023, 21:12:56 UTC
3c7660a Make Collection and ReadonlyCollection internal (#51964) 05 January 2023, 18:22:32 UTC
bae715f Update package-lock.json 05 January 2023, 06:06:06 UTC
4378441 fix(51198): The 'this' context of type 'T' is not assignable to method's 'this' of type 'this' (#51216) * fix(51198): skip checking this context of type assignable to super * update comment 04 January 2023, 20:05:19 UTC
f43cd0a Add RegExp indices and hasIndices (#52085) * Add RegExp indices * update --lib message * newlines * implement changes * Fix failing tests Thanks @xiBread! 03 January 2023, 20:20:10 UTC
31d1d63 Infer fixed-size tuples from infer type parameters with extends clauses at variadic positions (#51157) * Infer fixed-size tuples from infer type parameters with extends clauses at variadic positions * Improve the fix to handle tuples with leading variadic elements * Fixed indentation * Infer rest element following a variadic element with a fixed-size constraint * Infer rest element preceding a variadic element with a fixed-size constraint * Rewrite the test to avoid accidental union reductions 03 January 2023, 18:18:09 UTC
1a943d7 Update package-lock.json 03 January 2023, 06:06:24 UTC
eb3d6fa Update package-lock.json 02 January 2023, 06:06:33 UTC
747172e Update package-lock.json 31 December 2022, 06:06:49 UTC
e9cd2e1 Allow forward references in computed properties of type declarations (#50824) * Allow forward references in type declarations * address PR feedback 30 December 2022, 19:37:33 UTC
79244c5 remove unused node flag (#52052) 30 December 2022, 16:57:33 UTC
44152bc fix(29648): Error message related to JSDoc for non-JSDoc syntax error (#50793) * fix(29648): improve diagnostics of non-JSDoc syntax errors * fix lint errors * update tests * change diagnostic type suggestion. fix QF for jsdoc nullable type * move error handling from the parser to the checker * change diagnostic message. remove speculative parsing * update baseline 30 December 2022, 00:50:57 UTC
ba393b6 fix(51760): Nullish-coalescing assignment narrows type to assigned value (#51767) * fix(51760): skip type guard errors for narrowed nullish-coalescing assignment * update tests 30 December 2022, 00:36:59 UTC
c7f49bc Add undefined to JSON.stringify return type (#51897) * First attempt * Revert "First attempt" This reverts commit 23f641cddbcb6b55eec764eb6b3895beba731c38. * Second try * Accept baslines 28 December 2022, 17:06:03 UTC
df68817 Update package-lock.json 28 December 2022, 06:06:36 UTC
68df4be Update package-lock.json 27 December 2022, 06:06:39 UTC
acf854b Keep track of multiple current inference contexts (#51978) * Keep track of multiple current inference contexts * Add regression test 22 December 2022, 17:52:49 UTC
54a554d Update package-lock.json 21 December 2022, 06:06:30 UTC
8b6f873 fix(51223): Go-to-definition for yield and await keyword; jump to respective function definition (#51838) 20 December 2022, 21:29:59 UTC
e73a51d fix(51820): disallow using readonly and declare with auto-accessor (#51824) 20 December 2022, 21:25:33 UTC
6f4d340 fix(51716): find all references in imported JSDoc types (#51729) 20 December 2022, 21:16:17 UTC
cf68a12 Improve string literal completions for property values when a partially-typed string fixes inference to a type parameter (#51770) 20 December 2022, 21:08:55 UTC
5d8ef4b Update package-lock.json 20 December 2022, 06:06:31 UTC
714d734 --moduleResoltuion bunlder: Allow import assignment in ambient contexts (#51971) 20 December 2022, 01:03:50 UTC
5951ee9 feat(48665): tsconfig "extends" field ignores "exports" field of source package (#50955) * feat(48665): resolve configs from the exports field of the source package * add missed property * rename loadFileName to loadFileNameFromPackageJsonField * Apply suggestions from code review Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com> Co-authored-by: Andrew Branch <andrewbranch@users.noreply.github.com> Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com> 20 December 2022, 00:40:12 UTC
0f5e037 pass `isSingle` quote preference when building string literal (#51968) 19 December 2022, 23:39:39 UTC
eb1e257 Support outlining in multiline import/export decls (#51937) 19 December 2022, 23:22:43 UTC
ef70a28 Go back to using explicit node verisons in CI (#51965) Fixes https://github.com/microsoft/TypeScript/issues/51943 19 December 2022, 23:20:06 UTC
70ee780 Update package-lock.json 18 December 2022, 06:06:23 UTC
02d5b23 Allow `const` modifiers on class expression type parameters (#51935) * Allow `const` modifiers on class expression type parameters * Add regression test 17 December 2022, 18:32:27 UTC
4932c87 Update package-lock.json 17 December 2022, 06:06:43 UTC
fede84e `const` modifier on type parameters (#51865) * `const` modifier on type parameters + revised contextual type logic * Accept new baselines * Fix modifier checking * Add tests * Cache isConstTypeVariable check * Revert "Cache isConstTypeVariable check" This reverts commit f8fd1fd29f7975fcc3aeac8675c2cb107da33065. * Fewer isConstTypeParameterContext checks * Pay attention to cached `undefined` contextual type * Allow `const` modifier in more places + properly print back * Also permit `const` in method signature type parameters * Fix parsing of `const` modifier in array expression type parameters * Accept new baselines * Remove unused properties from NodeLinks * Rename `permitInvalidConstAsModifier` to `permitConstAsModifier` 16 December 2022, 21:47:10 UTC
2484390 Added override keyword to codefix implemented abstract methods (#51033) * Added override keyword to codefixed implemented abstract methods * Only when noImplicitOverrides is true, and always check abstract modifier * Added test on abstract/override already being there * Added back a few test cases * Check declaration modifier, not class modifier 16 December 2022, 19:59:21 UTC
193a8a7 skip optional parameters in js files (#51924) 16 December 2022, 19:51:41 UTC
645b3dd fix(51920): skip TypeScript types in js files (#51922) 16 December 2022, 18:35:35 UTC
20f3060 Add JSDocOverloadTag to ForEachChildTable (#51907) * add JSDocOverloadTag to ForEachChildTable * fix tests * change imports order 16 December 2022, 16:41:32 UTC
ba793e6 Fix excess property checking for intersections with index signatures (#51894) * Fix excess property checking for intersections with index signatures * Add regression tests * Limit check to only fresh object literals on the source side 16 December 2022, 14:59:23 UTC
ff919e3 Remove isJSDocOptionalParameter and isOptionalDeclaration from public API (#51908) 15 December 2022, 19:45:17 UTC
44e8244 Move auto-generated identifier info into separate object (#51900) 15 December 2022, 18:59:57 UTC
fe18527 feat(51000) - Flag Deprecation Plan (#51424) * feat(51000): add ignoreDeprecations option * use constants of versions * change the ignoreDeprecations type to allow only one value - '5.0' * add tests * update baseline * add typeScriptVersion to CreateProgramOptions * update baseline * change diagnostic message 15 December 2022, 18:44:06 UTC
e0bfac5 Rename module resolution option `node` to `node10` (preserving backward-compatible alias) (#51901) * Rename `node` to `node10` (preserving alias) * Revert dogfooding change because of LKG * Update baselines 15 December 2022, 18:07:33 UTC
2993ea8 Monomorphic Symbol access (#51880) 15 December 2022, 15:44:24 UTC
b9aa8a4 Update package-lock.json 15 December 2022, 06:06:25 UTC
aa2781d Add missing type argument constraints check (#51766) * Add missing type argument constraints check * Leverage existing routine for obtaining typeParameters 14 December 2022, 19:20:57 UTC
eb9252e Update package-lock.json 14 December 2022, 06:06:59 UTC
e4816ed JSDoc overload tag (#51234) * Add support for JSDocOverloadTag * Use overload tag to determine function type * Update baselines * Add new tests along with baselines * Add tests for all @overload tags in one comment * Add tests for find-all-ref and rename operations * Add tests for alternative uses of @overload tag Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com> 13 December 2022, 23:10:40 UTC
4076ff8 Add option for organize imports case sensitivity (#51733) * Add ignore case option to organizeImports * Adopt in auto-imports, use same case-insensitive comparison as eslint * Fix build/lint * Mark functions internal * Update affected auto import test * Update API baseline * Update protocol * Update API baseline * Short-circuit comparisons that have already failed 13 December 2022, 22:37:29 UTC
a5dde88 `--moduleResolution bundler` (formerly known as `hybrid`) (#51669) * WIP * Add extension error back unless noEmit is set * Add non-relative tests * Add error for importing from declaration file * Update unit test * Add explicit flag for importing from .ts extensions * Add module specifier resolution changes * Add auto-import tests * Disallow relative imports into node_modules * Ensure auto-imports don’t suggest ./node_modules; * Test a non-portable declaration emit issue * Test auto-importing TSX file * Update path completions * Fix lint due to merge * Remove minimal-specific stuff * Remove minimal tests * Update unit tests * Add options * Add customConditions option * Add first tests * CJS constructs are not allowed * Add another test * Fix extension adding/replacing priority * Update test to reflect the choice not to block on unrecognized extensions * Add auto-imports and string completions tests * Revamp string completions ending preferences * Comment test * Auto-imports of declaration files cannot use .ts extension * Have declaration file auto imports default to extensionless instead * Add test for custom conditions * Fix indentation * Add baseline showing resolvePackageJsonImports/Exports compatibility * Fix test and prevent CJS require from resolving * Update unit test baselines * Fix bad merge conflict resolution * Make resolvedUsingTsExtension optional * Update missed baselines * Revert now-unnecessary API implementation changes * Clean up * Update baselines to es5 emit * Rename to `bundler` 13 December 2022, 21:35:16 UTC
ad354c2 Don't include already-covered cases in switch completions (#51790) * WIP: filter existing values in case completions * filter existing enum symbols * add comment * fix lint errors * update baselines * add comment 13 December 2022, 21:01:52 UTC
0c23344 Update esbuild to v0.16.5 and use new --packages=external option (#51877) 13 December 2022, 20:47:36 UTC
6d41964 Reduce polymorphism resulting from unstable Node shapes (#51682) * Move .symbol to Declaration * simplify some factories * Move localSymbol to Declaration * Ensure JSDocContainer types are properly initialized * Move contextualType from Node to NodeLinks * Move 'locals' and 'nextContainer' out of Node * Move 'flowNode' out of 'Node' * Pre-define endFlowNode/returnFlowNode * Pre-define some SourceFile properties and a more stable cloneNode * Don't add excess properties to type nodes in typeToTypeNode * Refactor wrapSymbolTrackerToReportForContext to improve perf 13 December 2022, 20:11:10 UTC
7267fca Fix(29118): tsconfig.extends as array (#50403) * tsconfig.extends as array * Updated baselines * Changes for pr * Changes for pr comments * Fixed formatting and edited a test * Resolved errors after a merge conflict * Added "string | list" type implentation * Removed string | list type implementation * Fixed formatting * Added compiler test * Resolving programUpdate errors * Fixing commandLineParser error 13 December 2022, 19:16:07 UTC
a3802c1 Remove excluded CodeQL rules, fix reference to Gulpfile (#51878) Fixes https://github.com/microsoft/TypeScript/issues/51401 13 December 2022, 19:01:27 UTC
41fa4d7 Update package-lock.json 13 December 2022, 06:07:58 UTC
790c03d fix(47954): Auto implementation of interface with a constructor prop causes error (#50709) * fix(47954): convert constructor property to computed name * handle more nodes with constructor name 12 December 2022, 23:28:03 UTC
8f2a38f fix(50117): Using @extends in JavaScript + JSDoc removes method documentations (#50256) * fix(50117): show jsdoc from an inherited members * show jsdoc from inherited members from class expressions 12 December 2022, 23:22:03 UTC
d54f52e fix(50089): JSDoc/TSDoc @link with custom display text incorrectly shows vertical bar (#50106) * fix(50089): omit | from jsdoc linkTag text * change finding for the end pos of a link 12 December 2022, 23:16:29 UTC
708a522 fix(49080): --exactOptionalPropertyTypes seems to be ignored for JSDoc types (#49910) * fix(49080): handle JSDocPropertyTag as optional prop * move condition to utility function isOptionalDeclaration * add additional tests * update baseline 12 December 2022, 23:03:49 UTC
355991c feat(49323): Render JSDoc @throws {type} as a link (#49891) * feat(49323): add support throws jsdoc tag * change "name" to "typeExpression". parse "exception" as a synonym for "throws" * include typeExpression from the throws tag in the quick info * add JSDocThrowsTag to ForEachChildNodes 12 December 2022, 22:44:38 UTC
f1288c3 Update package-lock.json 12 December 2022, 06:06:46 UTC
3be1a67 Update package-lock.json 11 December 2022, 06:06:29 UTC
d45527a Update package-lock.json 10 December 2022, 06:07:06 UTC
9d7df99 Fix isExternalLibraryImport for classic resolution (#51840) 09 December 2022, 22:44:35 UTC
4978b3e Properly detect explicitly-set targets (#51834) 09 December 2022, 18:31:51 UTC
86e0fc9 Fix the test (#51839) 09 December 2022, 18:22:49 UTC
1f32fef fix(51077): skip insertText for jsx attribute with existing initializer (#51093) 09 December 2022, 16:38:08 UTC
f3d55db Fixed tuple types indexed by a type parameter (#51037) * Fixed tuple types indexed by a type parameter * If only there was a tool to add that missing semicolon for me * Rename to baseConstraint Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com> 09 December 2022, 15:59:40 UTC
212d386 Update package-lock.json 09 December 2022, 06:07:13 UTC
65bf850 Fix #51437 Duplicate "Duplicate identifier" errors (#51594) * retroactive approach to remove duplicate diagnostics * use code instead of messageText, update test * use existing de-dupe function * rename test and baselines * add fourslash test for better assertion of fix * review feedback: move deduplicate to getDiagnosticsHelper * accept baseline with sorted diagnostics * remove newline 09 December 2022, 03:21:41 UTC
e087992 feat(47977): show completion in jsdoc extends/implements tags (#51028) 09 December 2022, 01:10:00 UTC
8f2ee38 fix(50888): Organize Imports may delete preceding comments when all members of all import statements are unused (#50983) * fix(50888): preserve preceding comments of the deleted import * update tests 09 December 2022, 01:05:12 UTC
6327931 create special --no-typecheck script (#51830) 09 December 2022, 01:04:58 UTC
f0f415b Add missing Intl.ListFormat.prototype.resolvedOptions() (#51024) * Add missing Intl.ListFormat.prototype.resolvedOptions() Fixes #51023 * lint 09 December 2022, 00:45:17 UTC
a3dbe7d Update default target from ES3 to ES5 (#51731) * Change the default emit target to ES5 * Add baseline update * Remove tests with a hardcoded sourcemap in it * Update hardcoded tests * Merge with main * Restore tests 09 December 2022, 00:43:47 UTC
3716ffe Make getSupportedCodeFixes on LS so it can be proxied by plugins (#51769) Fixes #28966 08 December 2022, 17:52:25 UTC
52203db Update package-lock.json 08 December 2022, 06:06:59 UTC
4f951d7 Update to esbuild v0.16 (#51803) 08 December 2022, 03:54:35 UTC
b9d0e17 Ignore switch statement bypass control flows that produce `never` (#51703) * Ignore switch statement bypass control flows that produce 'never' * Add regression test 08 December 2022, 00:19:09 UTC
d43112a Use `missingType` in `--noUncheckedIndexedAccess` mode (#51653) * Use missingType in noUncheckedIndexedAccess mode * Accept new baselines * Add tests * Optimizing searching for undefinedType and missingType 07 December 2022, 21:38:33 UTC
91f89b9 Visit child nodes in `checkExpressionWithTypeArguments` (#51804) * Visit child nodes in checkExpressionWithTypeArguments * Accept new baselines * Add tests 07 December 2022, 18:06:12 UTC
a77a79f Remove some unnecessary createGetCanonicalFileName by exposing one from program (#51796) 07 December 2022, 17:17:52 UTC
6684e3d Fixed substition types for non-generic indexed accesses (#51621) 07 December 2022, 15:47:32 UTC
back to top