Commit Graph

  • c6fb2e10dc Update package-lock.json TypeScript Bot 2023-02-20 06:07:10 +00:00
  • 5c92af1dcc Fix contextual typing for post-spread tuple elements (#52769) Anders Hejlsberg 2023-02-18 09:35:24 -08:00
  • d87d0adcd3 Update package-lock.json TypeScript Bot 2023-02-18 06:06:25 +00:00
  • bbb98cf797 fix(52664): Assertion failure on completions for derived class with computed base property name (#52673) Oleksandr T 2023-02-18 03:36:52 +02:00
  • 04637662f4 Switch let/const to var in the scanner & parser for top-levelish variables. (#52832) Daniel Rosenwasser 2023-02-17 17:07:11 -08:00
  • 8cc216af03 Ensure parameters are in scope when converting parameter/return types to type nodes (#49627) Jake Bailey 2023-02-17 16:46:03 -08:00
  • 088fdf6efe fix(51202): Circular instantiation expression crashing IDEs (#51214) Oleksandr T 2023-02-17 21:31:45 +02:00
  • a3a4993937 Don't parse out a name for JSX fragments (#52818) Jake Bailey 2023-02-17 10:55:56 -08:00
  • ddfec78f55 Update package-lock.json TypeScript Bot 2023-02-17 06:07:05 +00:00
  • a3b516f6ab Add an extra test case for inferring return type of generic class without a constructor (#52741) Mateusz Burzyński 2023-02-17 03:56:42 +01:00
  • fd0370822f Fix crash in 'Wrap in JSX Fragment' quick fix (#52816) Ron Buckton 2023-02-16 21:34:58 -05:00
  • 3980b5b2b1 Fix overloadTag2 test (#52814) Jake Bailey 2023-02-16 15:57:30 -08:00
  • 879dbcd2df Do not report errors when inference is partially blocked (#52728) Mateusz Burzyński 2023-02-17 00:17:07 +01:00
  • 4b534dc859 Check overload tag against implementation (#52474) Nathan Shively-Sanders 2023-02-16 14:40:40 -08:00
  • 2976b6b703 Filtering mapped types declarations (#51650) Mateusz Burzyński 2023-02-16 22:38:10 +01:00
  • 55eff14353 Fix crash in extract type and generate get/set refactors (#52803) Ron Buckton 2023-02-16 16:15:54 -05:00
  • 7dd2a5e905 Fix crash in private accessor emit (#52785) Ron Buckton 2023-02-16 14:38:18 -05:00
  • 2f43308dc4 Add API option to getCompletionsAtPosition to expose completion symbol information (#52560) Vitaly 2023-02-16 22:09:29 +03:00
  • 151364902b Don't add redundant await in completions (#52677) Vitaly 2023-02-16 19:44:14 +03:00
  • d79eb02de3 Prefer using enum literal's own base type rather than enum's base type in comparison (#52703) Jake Bailey 2023-02-16 07:44:06 -08:00
  • 588dd82afe Update package-lock.json TypeScript Bot 2023-02-16 06:06:37 +00:00
  • 733d7aed97 fix(52749): Assertion failure in derived class completion (#52787) Oleksandr T 2023-02-16 00:33:39 +02:00
  • 2c67c8f756 Enforce NLT restriction after 'accessor' keyword (#52763) Ron Buckton 2023-02-15 12:51:25 -05:00
  • d8e81bbf6e Update package-lock.json TypeScript Bot 2023-02-15 06:06:54 +00:00
  • 7d00bb078d Widening and non-widening computed enum types (#52542) Anders Hejlsberg 2023-02-14 16:25:46 -08:00
  • de2ab4ab8f fix(52761): overload tag is not supported in completions (#52762) Oleksandr T 2023-02-15 00:25:00 +02:00
  • c7d3e9d4ac Add overload to known JSDoc tag names. overloadTagCompletions Daniel Rosenwasser 2023-02-14 22:04:30 +00:00
  • 73eba455a0 Add failing test for overload tag completions. Daniel Rosenwasser 2023-02-14 22:07:44 +00:00
  • 84b8483206 Improvements to strictSubtypeRelation and getNarrowedType (#52282) Anders Hejlsberg 2023-02-14 12:12:42 -08:00
  • a8b4a3b637 fix(52061): Constructor parameters exported as type included in emitted metadata (#52138) Oleksandr T 2023-02-14 22:03:54 +02:00
  • df6b9e5754 fix property completion in unions of object types and template literal types (#52196) Tobias S 2023-02-14 19:50:53 +01:00
  • 48e812aa07 Prefer top-level type-only imports in verbatimModuleSyntax (#52747) Andrew Branch 2023-02-14 10:23:08 -08:00
  • ab40f5e5d0 Avoid caching resolved signatures for language service requests like signature help (#52679) Mateusz Burzyński 2023-02-14 18:47:32 +01:00
  • f23dd7a7b2 Fix crash in getAwaitedType (#52752) Ron Buckton 2023-02-14 11:16:12 -05:00
  • 72fb827045 Check conditional types in depth in isTypeParameterAtTopLevel (#52648) Anders Hejlsberg 2023-02-14 07:33:22 -08:00
  • 9c40be1b42 Update package-lock.json TypeScript Bot 2023-02-14 06:07:26 +00:00
  • 99927cad95 Replace all instances of compilerOptions.isolatedModules with function considering verbatimModuleSyntax (#52746) Andrew Branch 2023-02-13 16:03:02 -08:00
  • 79df2bcd35 Don't allow everything to be assignable to string within string mappings like Uppercase/Lowercase (#52734) Jake Bailey 2023-02-13 17:58:56 -05:00
  • 5b71f59450 Fix spurious circularity caused by removeOptionalityFromDeclaredType, cache result (#52696) Jake Bailey 2023-02-13 17:55:12 -05:00
  • 6aba9b8a24 Drop deferredNodes after checking them all. (#52606) Daniel Rosenwasser 2023-02-13 13:50:57 -08:00
  • 738b45e219 Fixed crash in checkExportsOnMergedDeclarationsWorker (#52740) Mateusz Burzyński 2023-02-13 20:24:15 +01:00
  • 098e18ebc1 Update package-lock.json TypeScript Bot 2023-02-13 06:06:58 +00:00
  • ed15865eb0 Update package-lock.json TypeScript Bot 2023-02-11 06:06:14 +00:00
  • aa658257c9 Fix completion details auto-imports crashes (#52686) Andrew Branch 2023-02-10 15:26:09 -08:00
  • c838b0cb7e Consult cached contextual types only when no contextFlags (#52611) Anders Hejlsberg 2023-02-10 11:17:59 -08:00
  • 1c9ce4fc2e Update package-lock.json TypeScript Bot 2023-02-10 06:06:59 +00:00
  • 7612a3afc7 Fix crash on addImportFromExportedSymbol with default exported symbol (#52694) Gabriela Araujo Britto 2023-02-09 21:31:58 -03:00
  • 7fb6c99c19 Don't create an unnecessary text span in isInStringOrRegularExpressionOrTemplateLiteral (#52697) Daniel Rosenwasser 2023-02-09 15:37:22 -08:00
  • bd905d4936 Fix crash in union subtype reduction involving template literal and string mapping types (#52699) Anders Hejlsberg 2023-02-09 15:04:57 -08:00
  • 6c9792aa87 Decorators normative changes (#52582) Ron Buckton 2023-02-09 14:48:45 -05:00
  • 0ef9e8eac9 Ensure we treat "type assertions" as JSX within a unary expression (#52667) Jake Bailey 2023-02-09 11:34:47 -08:00
  • bec0fdac23 Add test for already fixed issue 49778 (#52668) Jake Bailey 2023-02-09 11:04:07 -08:00
  • 9a14949686 Fix accessing toString of features map (#52340) Gabriela Araujo Britto 2023-02-09 15:22:22 -03:00
  • 57ebd99ff2 Exclude typeof this from check in isConstantReference (#52680) Anders Hejlsberg 2023-02-09 07:06:09 -08:00
  • 1c822c42a4 feat(52097): "Add missing properties" quick fix for calculated string values ... (#52135) Oleksandr T 2023-02-09 03:25:39 +02:00
  • 6b6a59e9a0 Adressing pr comments navya9singh 2023-02-09 00:32:55 +00:00
  • a0afacd262 Avoid caching duplicate export info from AutoImportProvider (#52683) Andrew Branch 2023-02-08 12:36:12 -08:00
  • 963f913014 Update package-lock.json TypeScript Bot 2023-02-08 06:06:47 +00:00
  • a89f4168bd Update package-lock.json TypeScript Bot 2023-02-07 06:06:24 +00:00
  • cdeb1e3660 feat(48702): Emit for dynamic import (import()) when target >= ES2020 and module == None (#50942) Oleksandr T 2023-02-07 02:18:06 +02:00
  • 76c23e43da Fixed binding element types coming from the out of tuple bounds under noUncheckedIndexedAccess (#52318) Mateusz Burzyński 2023-02-07 01:17:05 +01:00
  • 01e99828db Accepting baselines navya9singh 2023-02-07 00:16:41 +00:00
  • 40208a8ca7 Narrow references within optional chains in for-in loops (#52059) Mateusz Burzyński 2023-02-07 01:15:27 +01:00
  • fa8355b331 Merge branch 'main' of https://github.com/microsoft/TypeScript into fix(50751) navya9singh 2023-02-06 16:07:03 -08:00
  • e9a5b2aaeb Adding fix for crash and changing test names navya9singh 2023-02-07 00:06:04 +00:00
  • 4775381811 Ensure projects are updated for find all references (#52583) Gabriela Araujo Britto 2023-02-06 20:42:05 -03:00
  • 59844e7f6c Don't consult JSDoc outside of JS in expando function assignment declarations (#52640) Jake Bailey 2023-02-06 15:28:21 -08:00
  • 376c3cdff8 Removing binder changes navya9singh 2023-02-06 14:04:54 -08:00
  • 6b43f82774 Filter out existing cases from string completions (#52633) Mateusz Burzyński 2023-02-06 22:16:29 +01:00
  • 7d8f6eec46 Add cache to auto-import package.json filter (#52422) Andrew Branch 2023-02-06 11:33:04 -08:00
  • 720ec45be5 Improve handling of corner cases in narrowTypeByInstanceof (#52592) Anders Hejlsberg 2023-02-06 11:32:33 -08:00
  • 7bfe6ac49a Make traces where #50762 happens machine analyzable (#52602) Andrew Branch 2023-02-06 11:31:07 -08:00
  • 70d14f3de2 fix(52594): this incorrectly applies in TS files in typeToString (#52610) Oleksandr T 2023-02-06 18:59:32 +02:00
  • 0bf99914e7 Make emitModuleKindIsNonNodeESM internal (#52599) Andrew Branch 2023-02-06 08:44:58 -08:00
  • 1ed0a5ac4b Update package-lock.json TypeScript Bot 2023-02-05 06:06:09 +00:00
  • ab686d83e9 Try tracking deferred nodes using 2 arrays: one to maintain order, the other as a simple sparse array. checkNodeDeferredLists Daniel Rosenwasser 2023-02-04 02:27:29 +00:00
  • 00eb22030f Fix completion of partial identifier inside a JsxExpression (#52572) pyBlob 2023-02-04 01:54:56 +01:00
  • c9b5f2b022 Replace missingType with undefinedType in the IndexedAccessTypeNode's type (#52016) Mateusz Burzyński 2023-02-04 01:32:22 +01:00
  • c06711da1b Handle literal string union complete pattern for JSX attribute snippets (<input type />) (#52562) Vitaly 2023-02-04 02:40:00 +03:00
  • 2e9da1e5a1 Remove always-incorrect error message about importing .ts extensions (#52595) Andrew Branch 2023-02-03 15:02:57 -08:00
  • ddadea1732 Make getSupportedCodeFixes plugin test such that we dont need to update its baseline for every new error (#52596) Sheetal Nandi 2023-02-03 13:17:33 -08:00
  • ea47fb1405 Fix false verbatimModuleSyntax error on export namespace in ESM (#52555) Andrew Branch 2023-02-03 12:32:01 -08:00
  • c828562eb4 Speed up debug attach by setting outFiles (#52584) Jake Bailey 2023-02-03 10:01:41 -08:00
  • 066c78d590 return baseType in getSubstitutionType when baseType is any (#52573) Tobias S 2023-02-03 17:35:10 +01:00
  • bbfb9ac14f Update package-lock.json TypeScript Bot 2023-02-03 06:06:35 +00:00
  • 2a8436c529 Use eslint-plugin-simple-import-sort (#52090) Jake Bailey 2023-02-02 14:36:21 -08:00
  • 0d251ba9bc Improve @overload's interactions with constructors (#52577) Nathan Shively-Sanders 2023-02-02 14:24:17 -08:00
  • 0f41b7a390 fix(52418): "Convert to named function" breaks on concise return of async function (#52434) Oleksandr T 2023-02-02 23:03:52 +02:00
  • 87b6fcd895 don't use Extension[] cast (#52556) Vitaly 2023-02-02 23:59:37 +03:00
  • ab5067bd43 Always respect preserveSymlinks (#51842) Sheetal Nandi 2023-02-02 12:37:35 -08:00
  • e7dfe82cc5 fix(52543): Module specifier should be escaped for snippet in import statement completion (#52574) Oleksandr T 2023-02-02 21:27:10 +02:00
  • 4ec9b2f8d7 Fix crash when looking for __esModule during symbol table merging (#52554) Andrew Branch 2023-02-02 09:27:10 -08:00
  • 30993855fd Consistently propagate intersectionState in relations (#52392) Anders Hejlsberg 2023-02-02 07:19:00 -08:00
  • 9ee33156f5 Make getTypeOfSymbol, isArrayType, isTupleType public on TypeChecker (#52467) Jake Bailey 2023-02-01 19:16:38 -08:00
  • 8fd1308f58 Cover more literal expressions in getQuickTypeOfExpression (#52181) Mateusz Burzyński 2023-02-02 01:59:47 +01:00
  • d0938c85ec imports: display completions to files with extensions from ambient modules (#52406) Vitaly 2023-02-02 03:43:07 +03:00
  • c72d9292d9 Fixed accidental propagation of caching-related objectFlags (#52546) Mateusz Burzyński 2023-02-01 22:18:19 +01:00
  • 3880fce249 fix(52455): destructuring function props with "enum" as property name breaks .d.ts (#52544) Oleksandr T 2023-02-01 21:44:22 +02:00
  • 0715fe5d65 Better compatibility error for indexed access type (#51228) Matias Osorio 2023-02-01 15:11:41 -03:00
  • 1da47255fa Fix auto-imports of aliased packages with exports (#52538) Andrew Branch 2023-02-01 09:49:38 -08:00