Commit Graph

35208 Commits

Author SHA1 Message Date
Sheetal Nandi e5515164eb Remove older deprecated APIs (#52338) 2023-01-20 12:55:04 -08:00
Sheetal Nandi 181cf21b68 Deprecate prepend option on project reference (#52312) 2023-01-20 12:10:18 -08:00
Jake Bailey 81d04341e8 Make GitHub render json as jsonc (#52335) 2023-01-20 12:08:26 -08:00
Andrew Branch 19d2d9ec01 Don’t let unsorted import groups eagerly derail sort detection (#52332) 2023-01-20 11:10:41 -08:00
Ron Buckton f526e16b2d Remove outdated deprecations (#52314) 2023-01-20 12:19:13 -05:00
YuqiangZhang 1e99934b29 fix(52270): update optionalReplacementSpan in continuePreviousIncompleteResponse (#52287)
Co-authored-by: zhangyuqiang <zhangyuqiang@bytedance.com>
2023-01-20 09:15:18 -08:00
TypeScript Bot 83069ef10d Update package-lock.json 2023-01-20 06:06:36 +00:00
Tobeyyy e01ced050c fix type checking of variables named "exports" (#52209) 2023-01-19 16:59:07 -08:00
Andrew Branch cfe1842adf Add verbatimModuleSyntax, deprecate importsNotUsedAsValues and preserveValueImports (#52203) 2023-01-19 16:56:30 -08:00
Jake Bailey ebbc56d0b3 Derive allCommandNames from CommandTypes enum (#52319) 2023-01-19 16:51:41 -08:00
Oleksandr T 6f338b9936 fix(52274): Suggestion code action adds another JSDoc (#52276) 2023-01-19 16:41:26 -08:00
Jake Bailey ddac387c3e Deprecate CommandNames in favor of protocol.CommandTypes, direct import for better bundler output (#52208) 2023-01-19 16:31:50 -08:00
Ron Buckton 5b18979697 Implement the Stage 3 Decorators Proposal (#50820) 2023-01-19 17:54:12 -05:00
Ron Buckton 20182cf848 Organize imports collation (#52115) 2023-01-19 17:53:51 -05:00
Nathan Shively-Sanders abd6cb446f Improve quickinfo/signature/completions baselines (#52308) 2023-01-19 14:39:14 -08:00
Jake Bailey 6622308206 Add followup test to #52123 test (#52178) 2023-01-19 12:53:03 -08:00
Jake Bailey b7f619d25e Make catch clause checking consistent with variable declarations (#52240) 2023-01-19 11:56:37 -08:00
Nathan Shively-Sanders ecaf6d91a7 Revert "Add undefined to JSON.stringify return type (#51897)" (#52307) 2023-01-19 09:24:31 -08:00
TypeScript Bot 38b8f59ff6 Update package-lock.json 2023-01-19 06:06:39 +00:00
Mateusz Burzyński b7290a75db Remove unnecessary isTupleType checks in inferFromObjectTypes (#52026) 2023-01-18 16:54:19 -08:00
Jake Bailey 18794c7945 Enable noImplicitOverride (#52290) 2023-01-18 12:00:10 -08:00
Jake Bailey da085ae57d Update to esbuild 0.17 (#52238) 2023-01-18 10:51:53 -08:00
TypeScript Bot 10c7c45205 Update package-lock.json 2023-01-18 06:07:16 +00:00
Jake Bailey 22b362ceac Enable strictFunctionTypes (#49929) 2023-01-17 17:20:51 -08:00
Andrew Branch 436833aba1 Allow allowImportingTsExtensions to be set in any module resolution mode (#52230) 2023-01-17 15:13:17 -08:00
Oleksandr T 8094007a1d fix(52277): switch/case completions fail when has a negative literal type (#52278) 2023-01-17 14:10:29 -08:00
Mateusz Burzyński 16c695cdbb Improve uncalled function check related to parenthesized and binary expressions (#50756)
fixes https://github.com/microsoft/TypeScript/issues/37598
2023-01-17 13:22:16 -08:00
navya9singh f6fc444b33 Fix(51828): extends field in tsconfig.json does nothing with empty string (#51981) 2023-01-17 12:31:23 -08:00
Oleksandr T 9c9d4b029d feat(51086): satisfies support in JSDoc (#51753) 2023-01-17 10:22:22 -08:00
Oleksandr T 577cc1bd8a fix(52233): Ambient modules declared with patterns are offered in path completions (#52246) 2023-01-17 09:41:16 -08:00
TypeScript Bot 243d8de66d Update package-lock.json 2023-01-17 06:06:28 +00:00
Gabriela Araujo Britto 67a3846fbf Fix replacementSpan for class member snippet completion entries (#52231) 2023-01-16 10:32:24 -08:00
TypeScript Bot 4ba756fdc8 Update package-lock.json 2023-01-15 06:06:21 +00:00
TypeScript Bot 8586c995b5 Update package-lock.json 2023-01-14 06:06:33 +00:00
Mykola Basov cb4c7689e6 Add Array.prototype.findLast() and Array.prototype.findLastIndex() (#49636)
Signed-off-by: mbasov2 <mbasov2@bloomberg.net>
2023-01-13 15:35:50 -08:00
Oleksandr T 86ccd20e53 fix(52212): No member completions, and irrelevant value completions, when class property initializer has no semicolon (#52213) 2023-01-13 14:23:36 -08:00
Anders Hejlsberg 41e4139357 Only used cached undefined contextual type for requests with no flags (#52224) 2023-01-13 10:10:56 -08:00
Anders Hejlsberg d6de73b20a Instantiate rest type as needed in getNarrowedTypeOfSymbol (#52215) 2023-01-13 07:23:39 -08:00
Anders Hejlsberg 36e9570933 Propagate constness of type parameters in variadic tuples (#52129) 2023-01-13 07:23:04 -08:00
TypeScript Bot ef58695fbc Update package-lock.json 2023-01-13 06:06:33 +00:00
Jake Bailey ef81c80482 Bump LKG and package.json to 5.0.0-dev.20230112 (#51787) 2023-01-12 19:17:37 -08:00
Andrew Branch 3e9703f126 Add additional diagnostic for packages that only resolve under non-exports-respecting modes (#52173) 2023-01-12 16:30:35 -08:00
Ron Buckton 9cdba994ac Remove some properties from Identifier (#52170) 2023-01-12 17:20:12 -05:00
Anders Hejlsberg 59e4e38d08 Don't widen when type parameter occurs at top level in type predicate (#52031) 2023-01-12 13:18:36 -08:00
TypeScript Bot 5b4a8d4134 Update package-lock.json 2023-01-12 06:06:37 +00:00
Jake Bailey 6c494e9d09 Fix bad baseline on main (#52201) 2023-01-11 16:54:23 -08:00
Wesley Wigham 9da2a9aa84 Fix inferences between alias type arguments and defaulted alias type arguments (#51771) 2023-01-11 15:28:53 -08:00
Oleksandr T 6860373c1a fix(52177): Wrong space in type assertions when using array (#52184) 2023-01-11 14:59:22 -08:00
TypeScript Bot a05b7ec01f Update package-lock.json 2023-01-11 06:06:50 +00:00
Jake Bailey 28e4c81794 Tweak co/contra inference logic from #52123 (#52180) 2023-01-10 17:08:36 -08:00