Commit Graph

13005 Commits

Author SHA1 Message Date
Copilot
833a8d492c Fix Symbol completion priority and cursor positioning (#61945)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: RyanCavanaugh <6685088+RyanCavanaugh@users.noreply.github.com>
Co-authored-by: Jake Bailey <5341706+jakebailey@users.noreply.github.com>
Co-authored-by: Ryan Cavanaugh <RyanCavanaugh@users.noreply.github.com>
2025-07-02 14:46:24 -07:00
Mateusz Burzyński
1ea1809e16 Properly disallow yield in bodyless arrows (#61976) 2025-06-30 14:52:49 -07:00
Mateusz Burzyński
91cdbd518c Fixed nullish coalesce operator's precedence (#61372) 2025-06-30 13:49:03 -07:00
Mateusz Burzyński
58665cf3ae Don't return tags when returning quick info for JSDoc nodes (#59816) 2025-06-30 13:20:08 -07:00
Mateusz Burzyński
c35b14335a Keep accessors as accessors in emitted anonymous class declarations (#60853) 2025-06-30 13:19:53 -07:00
Mateusz Burzyński
3267e426e3 Handle silentNeverType in iteration-related functions (#61317) 2025-06-30 12:52:51 -07:00
Mateusz Burzyński
5519be3ae1 Fixed crash when getting a definition for a class member with a computed name and an override modifier (#60631) 2025-06-30 12:48:39 -07:00
Mateusz Burzyński
2ea2ecfdc1 Fixed crash in hasVisibleDeclarations related to binding elements (#61352) 2025-06-30 11:57:47 -07:00
Mateusz Burzyński
c33f83ac9b Fixed a printer crash caused by empty parameter modifiers (#60537) 2025-06-30 11:14:10 -07:00
Mateusz Burzyński
b46556e7b7 Fixed JSDoc display on JsxNamespacedName attributes (#61825) 2025-06-30 11:07:48 -07:00
Mateusz Burzyński
8665f920c9 Fixed crash on ComputedPropertyName when computing interactive inlay hints (#61857) 2025-06-30 10:28:27 -07:00
Mateusz Burzyński
d297037a83 Fixed crash on ConstructSignature when computing interactive inlay hints (#61973) 2025-06-30 10:21:50 -07:00
Ryan Cavanaugh
efeb135c6f Revert #54442 and add a testcase (#61955) 2025-06-27 08:52:58 -07:00
Gabriela Araujo Britto
02672d281c Use jsx language variant for jsx file scanning in getChildren (#61928) 2025-06-25 15:37:21 -07:00
Copilot
6e519c59c1 Fix BigInt literal error in ambient contexts when targeting < ES2020 (#61935)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: RyanCavanaugh <6685088+RyanCavanaugh@users.noreply.github.com>
2025-06-25 14:29:50 -07:00
Copilot
1ed8674bba Allow accessor properties in ambient contexts when targeting ES5 (#61927)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: RyanCavanaugh <6685088+RyanCavanaugh@users.noreply.github.com>
2025-06-25 14:29:02 -07:00
Jake Bailey
dca71700ba Fix bad JSON syntax in tests, use JSON.parse first for perf (#61901) 2025-06-24 14:51:46 -07:00
Mateusz Burzyński
50b93bc803 Allow trailing commas after import attributes in ImportType (#61920) 2025-06-24 09:49:37 -07:00
Mateusz Burzyński
78c16795cd Don't ignore completions at source file locations (#61909) 2025-06-23 13:20:43 -07:00
Jake Bailey
12e09f44f6 Port "Improve type discrimination algorithm" from tsgo (#61828) 2025-06-09 16:20:15 -07:00
Nicolò Ribaudo
0dfd0c2143 Restore import defer = parsing (#61837) 2025-06-09 14:31:15 -07:00
Anders Hejlsberg
34d1ea68f6 Fix type variable leaks and cache inconsistencies (#61668) 2025-06-09 14:20:27 -07:00
Andrew Branch
cb38d99d08 Add --module node20 (#61805) 2025-06-09 14:20:00 -07:00
Mateusz Burzyński
355b9e0984 Avoid resolving source prop type when the target is unknown/any (#61660) 2025-06-06 15:17:50 -07:00
Andrew Branch
7715955f89 Fix helpers emit for .cjs files in ESM module mode (#61814) 2025-06-06 15:08:04 -07:00
Mateusz Burzyński
fa2a0fc5a2 Issue "'{0}' declarations can only be declared inside a block." for block-scoped variables in presence of parse errors (#61824) 2025-06-06 14:00:25 -07:00
René
1e2494566e explicitly disallow using in ambient contexts (#61781) 2025-06-06 13:44:02 -07:00
René
652ed7fea0 Add lib.esnext.sharedmemory (#61646) 2025-06-06 13:33:13 -07:00
Mateusz Burzyński
51dcd9001d Cache mapper instantiations (#61505) 2025-06-06 12:21:17 -07:00
Nicolò Ribaudo
a69c6d0bb7 Add support for import defer proposal (#60757)
Co-authored-by: Ujjwal Sharma <ryzokuken@disroot.org>
Co-authored-by: Nicolò Ribaudo <hell@nicr.dev>
2025-06-06 12:11:21 -07:00
magic-akari
ac03ba4f02 fix(checker): report error when using bigint as enum key (#61777) 2025-06-05 16:37:47 -07:00
Oleksandr T.
a591ca3fdc fix(61747): for (using of = is incorrectly parsed (#61764) 2025-06-05 16:37:40 -07:00
Mateusz Burzyński
b86ab7dbe0 Stop reassigning .valueDeclaration to avoid replacing earlier declarations with late ones (#60857) 2025-05-15 09:51:34 -07:00
Mateusz Burzyński
0fb5e3a8cf Preserve type parameter constraint in emitted mapped types while preserving their distributivity (#54759) 2025-05-12 10:54:34 -07:00
Gabriela Araujo Britto
0ee67b517f Add configurable maximum hover length (#61662) 2025-05-09 13:31:39 -07:00
Zzzen
5e36778330 check usage before declaration for decorators (#50372)
Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com>
2025-05-02 14:01:09 -07:00
Zzzen
e37ca49c70 arguments should not be allowed in class static block (#48172)
Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com>
Co-authored-by: Jake Bailey <5341706+jakebailey@users.noreply.github.com>
2025-05-02 06:38:33 -07:00
Oleksandr T.
11e7932759 fix(61258): Renaming namespace with const enum doesn't update enum references (#61263) 2025-04-24 14:35:05 -07:00
Hans Brende
75202af2cc Fix #61098 (#61113) 2025-04-24 13:55:56 -07:00
Andrew Branch
6afd0fb73f Fix crash when serializing default export in error (#61582) 2025-04-16 09:43:33 -07:00
Gabriela Araujo Britto
069de743db Expandable hover (#61492) 2025-04-15 12:14:38 -07:00
Mateusz Burzyński
eef7c14ef1 Treat functions with @type tags on parameters as typed in JS files (#61177) 2025-04-14 15:35:20 -07:00
Vitaly
ba663f6ac2 Exclude completions of binding pattern variable initializers (#52723)
Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com>
2025-04-02 13:47:43 -07:00
Mateusz Burzyński
89c572ca0c Fixed a symbol display crash on expando members write locations (#55478) 2025-04-01 13:40:59 -07:00
Fróði Karlsson
29e6d6689d Fix lib.includes('dom') check in containerSeemsToBeEmptyDomElement (#61481) 2025-03-25 16:24:52 -07:00
Daniel Rosenwasser
4dc677b292 Fix errors on type assertions in erasableSyntaxOnly (#61452) 2025-03-19 16:25:22 -07:00
Oleksandr T.
ee3dd7264b fix(60908): Unexpected "'Type' is declared but its value is never read." error with jsdoc @import syntax (#60921) 2025-03-17 13:29:48 -07:00
Titian Cernicova-Dragomir
a00b324ab2 Fix serialization of accessor types in declaration files. (#61392) 2025-03-14 12:36:08 -07:00
Titian Cernicova-Dragomir
c85e626d8e Rename type parameters when they are shadowed. (#61342) 2025-03-04 11:34:32 -08:00
Jake Bailey
15392346d0 Ban old-style type assertions under erasableSyntaxOnly (#61244) 2025-02-28 11:10:43 -08:00