Commit Graph
1187 Commits
Author SHA1 Message Date
fd871fcc3c Preserve replacement lib order during sorting (#64693)
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: Ryan Cavanaugh <RyanCavanaugh@users.noreply.github.com>
2026-10-12 20:10:49 +00:00
Trevor Florence bdc93bd987 Keep this inside functions nested in downleveled static blocks (#64738) 2026-10-12 18:45:59 +00:00
Mateusz Burzyński 71956e9735 Check package reachability before using exports in declarations (#64599) 2026-10-12 17:44:45 +00:00
Wesley Wigham 5b3a367c29 Use ensureModifierFlags to calculate jsdoc constructor property modifiers (#64696) 2026-10-12 17:21:00 +00:00
Oleksandr Tarasiuk 95c9d99127 fix(64494): fix decorated class names with private member self-references (#64505) 2026-10-12 17:18:57 +00:00
Oleksandr Tarasiuk 2d8450f9b5 feat: add iterator methods to esnext (#64095) 2026-10-09 21:05:35 +00:00
Wesley Wigham ec47d33c23 Make computed property names always checked, regardless of parent grammar errors (#64674) 2026-10-07 23:11:24 +00:00
Gadzhi Gadzhiev a501b11f64 Index re-exporting modules for declaration emit (#64469) 2026-10-07 22:33:21 +00:00
CopilotandRyanCavanaugh 0bd74f77b2 Fix CommonJS export assignments for shadowed names in function-local loops (#64676)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: RyanCavanaugh <6685088+RyanCavanaugh@users.noreply.github.com>
2026-10-07 21:07:33 +00:00
Oleksandr Tarasiuk 0ba5d992db fix(64665): fix emit crash for duplicate private names in decorated classes (#64670) 2026-10-07 20:48:41 +00:00
Oleksandr Tarasiuk bea2e849e9 fix(64627): reject deferred imports without namespace bindings (#64640) 2026-10-07 20:09:37 +00:00
Mateusz Burzyński 54f05ae22a Fix crashes on malformed destructuring assignments during emit (#64651) 2026-10-07 17:25:01 +00:00
Mateusz Burzyński c3f14c2fe8 Fix crash in decorator metadata emit for decorated object literal members (#64633) 2026-10-06 22:55:16 +00:00
Copilotandjakebailey 21b260b4e7 Exclude top-level imports from document symbols (#64160)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: jakebailey <5341706+jakebailey@users.noreply.github.com>
2026-10-06 22:51:12 +00:00
Mateusz Burzyński 1a78786ca7 Fix flaky diagnostic added by emit for typeof import() type qualifiers (#64636) 2026-10-06 22:38:50 +00:00
Jake Bailey de61e69621 Update DOM types (#64604) 2026-10-06 16:38:13 +00:00
Andrew BranchandCopilot fc636a691f [api] Stop dropping dispose Promises in the async API (#64584)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-10-06 16:27:32 +00:00
Wesley Wigham a1ef42b9ea Fix flaky diagnostic on JS constructor-defined properties (#64646) 2026-10-06 00:07:12 +00:00
Christopher Plieger ca197b7b85 Restart a file's imports when a later arrival lowers its node_modules depth (#64632) 2026-10-05 17:54:49 +00:00
Anders Hejlsberg 50d70a3f5f Ensure stable ordering in getInferTypeParameters result (#64621) 2026-10-03 17:37:01 +00:00
Jake Bailey ed4807212c Strongly type file paths (#64159) 2026-10-02 23:43:35 +00:00
Oleksandr Tarasiuk 2f9fd09a10 Support source phase imports (#63915) 2026-10-02 16:07:06 +00:00
Maksim RomanovandRyan Cavanaugh 09b1db0617 Elide empty named imports next to a default import under verbatimModuleSyntax (#64578)
Co-authored-by: Ryan Cavanaugh <RyanCavanaugh@users.noreply.github.com>
2026-10-01 23:56:38 +00:00
Jake Bailey 59f5b0233f Typed path prep bugfixes (#64544) 2026-10-01 23:32:08 +00:00
Oleksandr Tarasiuk bf00f213ff feat: add Promise.allKeyed and Promise.allSettledKeyed to esnext (#64093) 2026-10-01 20:24:04 +00:00
Wesley Wigham af36d532b0 Fix export= class visibility alongside top-level export type (#64573) 2026-10-01 20:01:05 +00:00
Jake Bailey 15dee00a1c Detect cycles while serializing array and tuple types (#64556) 2026-10-01 18:18:57 +00:00
Jake Bailey e8fd69fc1e Generate compiler option definitions, create JSON schema (#64457) 2026-10-01 18:16:41 +00:00
Jake Bailey 237b14a5d9 Stabilize merged declaration diagnostic ownership (#64566) 2026-10-01 18:07:46 +00:00
Chenxu Lu 02c1c9a6ab fix with statement crash (#64574) 2026-10-01 18:02:01 +00:00
Jake Bailey edf7da4e93 Preserve reverse mapped types in declaration emit (#64558) 2026-09-30 23:51:27 +00:00
Anders Hejlsberg c8e9b7d259 Cache inferences made from type arguments (#64553) 2026-09-30 20:32:32 +00:00
auvred 64c5fa0b92 Fix moduleResolution -> customConditions test to actually apply both conditions (#64522) 2026-09-30 18:09:44 +00:00
Colin McDonnell c4d731aae1 Keep a pure return type inference filtered by its constraint in a recursive call resolution (#64530) 2026-09-30 17:01:51 +00:00
Cameron 792ffccb90 fix: disallow NoSubstitutionTemplate in module import attribute types (#64243) 2026-09-30 16:41:32 +00:00
Mateusz Burzyński 619d485a63 Avoid contextually typing static properties by their own class to prevent spurious circularities (#64525) 2026-09-30 16:35:04 +00:00
Jake Bailey 834e7862c0 Report cyclic structures and truncation during declaration emit (#64461) 2026-09-30 15:53:20 +00:00
Mateusz Burzyński 81d3f3f5e8 Fix flaky diagnostic added by declaration emit through MarkLinkedReferencesRecursively (#64482) 2026-09-30 15:36:44 +00:00
Wesley Wigham 697b847e11 Add export modifiers to other expando exports of namespaces on all codepaths which add export declarations (#64545) 2026-09-30 15:10:43 +00:00
Jake Bailey b85298b6a8 Enforce exclusive checker acquisition (#64543) 2026-09-29 23:01:40 +00:00
Mateusz Burzyński 299a555c3a Fix flaky diagnostic added by declaration emit for untyped module imports (#64479) 2026-09-29 21:30:14 +00:00
Mariana Castro 65425b7a52 Fix declaration maps for export assignment expressions (#64460) 2026-09-29 21:04:59 +00:00
Butros J. G. GrootandWesley Wigham 65a8caeef8 Avoid cloning cached declaration types after truncation (#63969)
Co-authored-by: Wesley Wigham <wewigham@microsoft.com>
2026-09-29 21:04:24 +00:00
0f66f2bfbf Fix panic in declaration emit for export default arrow/function expression with unnameable inferred return type (#63989)
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: weswigham <2932786+weswigham@users.noreply.github.com>
Co-authored-by: Wesley Wigham <wewigham@microsoft.com>
2026-09-29 18:33:20 +00:00
Oleksandr TarasiukandWesley Wigham 11bd5190e6 fix(64421): convert nested rest bindings to assignment targets (#64422)
Co-authored-by: Wesley Wigham <wewigham@microsoft.com>
2026-09-29 18:32:36 +00:00
Mateusz Burzyński d3eed5a611 Fix regression reporting TS2565 for inherited class fields reassigned in JS (#64523) 2026-09-29 17:08:44 +00:00
Mateusz Burzyński 0681ef7fa3 Fixed a crash on JSX emit trying to emit unexpectedly recovered BinaryExpression in a JSX attribute (#64470) 2026-09-29 04:25:53 +00:00
Anders Hejlsberg 19dadef888 Restore idempotency to resolveObjectTypeMembers (#64372) 2026-09-29 02:49:13 +00:00
Mateusz Burzyński aa23de2846 Fix crash in isolatedDeclarations on this.x = … assignments (#64471) 2026-09-28 23:26:56 +00:00
Anders Hejlsberg f9b3c564c6 Don't reduce intersections of mappings of the same object type (#64481) 2026-09-28 22:01:20 +00:00