Commit Graph

36354 Commits

Author SHA1 Message Date
Nathan Shively-Sanders
79ea5a5b35 Stub out copilotRelated command (#60488) 2024-11-13 08:33:00 -08:00
Titian Cernicova-Dragomir
b58ac4abf2 Extract function types from function and arrow expressions. (#60234) 2024-11-11 10:15:29 -08:00
Oleksandr T.
ef802b1e4d feat(60312): Add missing properties for satisfies (#60314) 2024-11-08 09:48:13 -08:00
Ryan Cavanaugh
55f1248a20 MetaProperty is possibly nullish (#60440) 2024-11-06 13:06:12 -08:00
Gabriela Araujo Britto
30979c2651 Narrow generic conditional and indexed access return types when checking return statements (#56941) 2024-11-05 18:18:24 -08:00
Mateusz Burzyński
5e2e32120b Reuse cached resolved signatures early (#60208) 2024-11-05 17:16:37 -08:00
Gabriela Araujo Britto
8d95ac5968 Fix getEffectiveCheckNode (#60309) 2024-11-05 17:14:25 -08:00
Dirk Luijk
60dd512a83 fix(60223): add Promise.try() to ESNext lib (#60232) 2024-11-05 17:14:02 -08:00
Gabriela Araujo Britto
80eeb4ec8d Proposed expandable hover API (#59940) 2024-11-05 16:41:13 -08:00
Jake Bailey
9d7e087022 Remove cancellationToken.js (#60250) 2024-11-05 14:35:02 -08:00
Andrew Branch
82a04b29b4 Fix false positive rewriteRelativeImportExtensions error on non-TS extensions (#60415) 2024-11-05 12:50:18 -08:00
Daniel Rosenwasser
131f673c20 Bump version to 5.8. (#60422) 2024-11-05 11:41:25 -08:00
Mateusz Burzyński
c09e2ab4ff Fixed syntactic nullisness semantics for comma expressions (#60402) 2024-11-04 12:43:30 -08:00
navya9singh
0ec4d30a6e Fixing exception on unsaved file (#60362) 2024-11-02 22:55:36 -07:00
Ron Buckton
11b2930fa2 Add compatible overloads that accept ArrayBuffer to BigInt64Array/BigUint64Array (#60391) 2024-11-01 16:47:09 -04:00
Joe Pea
248c8f5f99 Fix incorrect details in lib.decorators (#60252) 2024-11-01 15:02:04 -04:00
Isabel Duan
3e6171833e fix autoimports crash: generate namespace and other module symbol imports (#60333) 2024-10-31 17:03:12 -07:00
Mateusz Burzyński
32513a7745 Fixed an accidental undefined leak into getAccessibleSymbolChain's cache key (#58669) 2024-10-31 15:18:27 -07:00
Mateusz Burzyński
e4dc78ab8c Fixed crash on class member completions with auto imports from merged ambient modules (#60340) 2024-10-31 13:47:38 -07:00
Mateusz Burzyński
48f2ada110 Add string literal completions for package.json imports field (#57718) 2024-10-31 13:33:40 -07:00
Mateusz Burzyński
a271797c1a Use canHaveFlowNode in checkIfExpressionRefinesParameter (#58816) 2024-10-31 13:14:27 -07:00
Mateusz Burzyński
f478257f06 Remove unused SymbolLinks["bindingElement"] (#60385) 2024-10-31 13:14:17 -07:00
Nathan Shively-Sanders
da15ef2841 Fix a crash in an anonymous buffer that copilot is writing to. (#60377) 2024-10-30 15:36:19 -07:00
Isabel Duan
21618934bf fix paste edits range: include all completely selected identifiers (#60339) 2024-10-29 14:05:32 -07:00
Mateusz Burzyński
cb44488fce Fixed a JSDoc-related crash when obtaining type of a type literal type argument (#60358) 2024-10-28 11:50:14 -07:00
dependabot[bot]
6beca69fbc Bump the github-actions group with 4 updates (#60356)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-28 11:20:02 -07:00
Andrew Branch
2ac4cb78d6 Fix prioritization of paths specifiers over node_modules package specifiers (#60238) 2024-10-23 13:22:23 -07:00
Oleksandr T.
db8eacd7e2 fix(59397): JsDoc is missing/duplicated in declarations for overloads declared in classes declared in functions (#59675) 2024-10-23 11:34:23 -07:00
Mateusz Burzyński
6a90111d05 Fixed "add missing properties" codefix for positions with nullable contextual types (#60328) 2024-10-23 11:31:37 -07:00
Mateusz Burzyński
437d7f7d9c Fixed crash in auto import suggestions for default of exported UMD objects (#60313) 2024-10-23 09:22:09 -07:00
Ron Buckton
1679f4481d More rigorous ASI prevention when emitting return/yield (#60304) 2024-10-22 19:20:51 -04:00
Oleksandr T.
a62ac67b50 fix(59779): The semicolons: "remove" formatting option doesn't remove extraneous semicolons (#59797) 2024-10-22 15:42:28 -07:00
Oleksandr T.
241a6c9589 fix(55168): Computed properties do not respect setter signatures (#55178) 2024-10-22 13:10:55 -07:00
Ron Buckton
e25abe34ae Error on too many parameters for iterator method (#60321) 2024-10-22 16:00:58 -04:00
Mateusz Burzyński
aa411acab7 Add a test for constraint of an infer type parameter not being fully instantiated previously (#59760) 2024-10-21 18:29:05 -04:00
dependabot[bot]
d9eeeaecbb Bump github/codeql-action from 3.26.12 to 3.26.13 in the github-actions group (#60295)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-21 13:57:54 -07:00
Ron Buckton
e6ef279403 Fix template string escaping (#60303) 2024-10-21 13:18:54 -07:00
Oleksandr T.
df9d16503f fix(59463): Feature that displays method argument names inline does not correctly handle method overloading (#59504) 2024-10-18 14:44:43 -07:00
Mateusz Burzyński
c07da583af Disallow type and interface declarations in statements with blockless bodies (#60183) 2024-10-18 09:24:33 -07:00
Ron Buckton
2e4f2c72db Include non-enumerable keys in __importStar helper (#60262) 2024-10-18 10:26:00 -04:00
CSIGS@microsoft.com
54732f6e58 LEGO: Pull request from lego/hb_5378966c-b857-470a-8675-daebef4a6da1_20241017172255112 to main (#60257) 2024-10-17 11:13:17 -07:00
Andrew Branch
b8e4ed8aeb Fix --showConfig to show transitively implied options that vary from the default config (#60240) 2024-10-16 11:14:44 -07:00
Ron Buckton
bd1641f769 Fix ASI after get/set keyword (#60225) 2024-10-15 20:53:35 -04:00
Mateusz Burzyński
03c5a37cfb Allow auto accessor types to be inferred from their flow types in constructors and static blocks (#59732)
Co-authored-by: Ron Buckton <ron.buckton@microsoft.com>
2024-10-15 20:52:12 -04:00
Andrew Branch
3b0dfaa73c Handle auto-import when paths pattern is absolute (#60236) 2024-10-15 14:01:12 -07:00
Andrew Branch
31de163db7 Do not mark #imports and self-name imports as external library imports in module resolution (#60228) 2024-10-15 10:53:32 -07:00
Mateusz Burzyński
d61938d8a3 Fixed default-like export info lookup with export= that have default export (#60035) 2024-10-15 09:00:54 -07:00
Ron Buckton
40caf34319 Fix decorator emit crash (#60224) 2024-10-14 17:45:23 -04:00
Oleksandr T.
e99e6e2e87 fix(60186): Quick fix "add missing properties" fails with enums from other module (#60191) 2024-10-14 11:30:34 -07:00
dependabot[bot]
460be92510 Bump the github-actions group with 4 updates (#60218)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-14 11:13:10 -07:00