Commit Graph

26992 Commits

Author SHA1 Message Date
Jake Bailey
1068fb6370 Merge branch 'main' into tsgo-port-restore-es5-main 2026-02-02 21:08:48 -08:00
Jake Bailey
956929d60c Revert "Remove ES5 transforms"
This reverts commit 7eb74fd868.
2026-02-02 19:02:03 -08:00
Jake Bailey
b6ce58df08 Revert "Remove ES5 specific identifier handling"
This reverts commit c356203d2b.
2026-02-02 18:45:45 -08:00
Jake Bailey
831a228c92 Revert "Drop code in tsgo-port that references ES5 or <ES2015 (#62670)"
This reverts commit 763d8821ca.
2026-02-02 18:42:19 -08:00
Jake Bailey
0a74ec4e16 Remove ES5 references, misc cleanup (#63075) 2026-02-03 00:08:22 +00:00
Mateusz Burzyński
b92ec99cac Fixed a crash caused by circularly-reentrant getEffectsSignature (#63026) 2026-02-02 18:44:59 +00:00
Jake Bailey
97d51a7448 Update implied default for module based on target (#63076) 2026-02-02 17:11:49 +00:00
Jake Bailey
1fd0c5389d Deprecate import assert in favor of import with (#63077) 2026-02-02 16:30:23 +00:00
Jake Bailey
95e3aaa903 Default target to "latest standard", deprecate ES5 (#63067) 2026-01-31 05:13:25 +00:00
Jake Bailey
db1fa5c10c Be more lenient about iteration when lib=es5 / noLib (#63070) 2026-01-30 22:45:23 +00:00
Jake Bailey
3fc1f264de Update tests in prep for ES5 deprecation, target default change (#63066) 2026-01-29 22:38:34 +00:00
Jake Bailey
c1592ada0e Remove compiler runner libFiles option entirely (#63060) 2026-01-28 20:56:05 +00:00
Jake Bailey
2fed59084b Eliminate tests/lib/lib.d.ts, fix up fourslash to use real libs and defaults (#63056) 2026-01-28 19:23:32 +00:00
Jake Bailey
46ec6af171 Support FORCE_COLOR (#63055) 2026-01-28 18:59:07 +00:00
Copilot
66edca11c9 Fix: Consult referenced project options for synthetic default export eligibility (#63038)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: andrewbranch <3277153+andrewbranch@users.noreply.github.com>
Co-authored-by: Andrew Branch <andrew@wheream.io>
2026-01-26 23:07:24 +00:00
Jake Bailey
b19a9da2a3 Fix transform crash with destructured parameter property (#63043) 2026-01-23 23:48:05 +00:00
Daniel Rosenwasser
e6fac66a72 Explicitly set strict: false for project tests, eval tests, and more programmatic fourslash tests (#63024) 2026-01-21 02:26:40 +00:00
o-m12a
ff5dbcf272 Fix a typo in the JSDoc of Math.trunc(…) (#63020) 2026-01-21 00:17:15 +00:00
Mateusz Burzyński
a586c340a2 Fixed crash related to index type deferral on generic mapped types with name types (#60528)
Co-authored-by: Ryan Cavanaugh <RyanCavanaugh@users.noreply.github.com>
2026-01-15 21:20:56 +00:00
Sheetal Nandi
7affa9e540 Assume rootDir is the current configuration directory (#62418) 2026-01-15 21:16:15 +00:00
Sheetal Nandi
4d94ccb06b Handle resolution watching when its dynamic scriptInfo (#62894) 2026-01-15 19:13:21 +00:00
Daniel Rosenwasser
a9f534f271 Correctly split line endings for // @testOption: value parsing (#62987)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-01-15 03:13:51 +00:00
Ryan Cavanaugh
631affd1d7 Deprecate --outFile (#62981) 2026-01-13 20:40:31 +00:00
Mateusz Burzyński
7bb5ba3de6 Discard types that reduce to never before discriminating by discriminable items (#62275) 2026-01-13 17:13:48 +00:00
Copilot
c574e4090d Fix "never nullish" diagnostic missing expressions wrapped in parentheses (#62789)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: jakebailey <5341706+jakebailey@users.noreply.github.com>
Co-authored-by: Ryan Cavanaugh <ryanca@microsoft.com>
Co-authored-by: Ryan Cavanaugh <RyanCavanaugh@users.noreply.github.com>
2026-01-09 18:57:02 +00:00
Mateusz Burzyński
632479f28d Fixed an issue causing spurious "used before being assigned" errors in for of/in loops (#61376)
Co-authored-by: Ryan Cavanaugh <RyanCavanaugh@users.noreply.github.com>
2026-01-09 00:27:42 +00:00
Anders Hejlsberg
f3770c9b89 Fix crash in abstract property checking (#62923) 2025-12-28 21:12:38 +00:00
Anders Hejlsberg
1f5f9f34d3 Fix crash in mixin checking (#62928) 2025-12-26 23:15:54 +00:00
Mateusz Burzyński
2dfdbbabae Fixed crash when adding unreachable code diagnostic in situations with missing nodes (#62914) 2025-12-19 13:18:44 +00:00
Ryan Cavanaugh
16b933fb7b Deprecate module syntax (#62876) 2025-12-12 00:21:01 +00:00
Jake Bailey
c84cb94778 Revert "ES2020: fix String.prototype.matchAll type and description" (#62885) 2025-12-11 22:21:52 +00:00
Jordan Harband
bbb5322c96 ES2020: fix String.prototype.matchAll type and description (#62873) 2025-12-11 19:36:19 +00:00
Mateusz Burzyński
366da34ae6 Improve inference by not considering thisless functions to be context-sensitive (#62243) 2025-12-10 19:08:29 +00:00
magic-akari
3b9acae97c Allow subpath imports that start with #/ (#62844) 2025-12-09 18:54:52 +00:00
Lars Kappert
ab142be459 Move knip args (#62865) 2025-12-09 04:33:55 +00:00
Jake Bailey
3544dd7d4d Fix ContextFlags compile error (#62855) 2025-12-08 19:36:00 +00:00
Mateusz Burzyński
69a0879743 Include source node inferences in string literal completions deeper in arguments (#56182) 2025-12-08 10:30:33 -08:00
Mateusz Burzyński
b2327c0f19 Make go to definition go to the constraint's properties for object literals in argument positions (#62361) 2025-12-08 10:27:56 -08:00
Mateusz Burzyński
38d95c8001 Avoid silentNeverType leaking into generator types inferred based on inner generic calls at yields (#62283) 2025-12-05 10:47:37 -08:00
Mateusz Burzyński
0752278137 Widen reverse mapped type properties to fix them being treated as EPC-valid sources (#62722) 2025-12-05 10:45:33 -08:00
Jake Bailey
b33d37201e Don't set parent on non-transient symbols in mergeSymbolTable (#61560) 2025-12-04 09:47:25 -08:00
CSIGS@microsoft.com
dba6c9b824 LEGO: Pull request from lego/hb_5378966c-b857-470a-8675-daebef4a6da1_20251203202848732 to main (#62832) 2025-12-04 09:30:04 -08:00
Mateusz Burzyński
28fbc0a1ef Filter return type inferences by constraint applicability (#58910) 2025-12-03 09:46:59 -08:00
Sheetal Nandi
669c25c091 Add --ignoreConfig and dont allow specifying files on commandline without it if there is config file present (#62477) 2025-11-24 11:50:49 -08:00
CSIGS@microsoft.com
fbb051f500 LEGO: Pull request from lego/hb_5378966c-b857-470a-8675-daebef4a6da1_20251121203231458 to main (#62791) 2025-11-21 16:30:42 -08:00
René
60e99ecee4 Disallow [await] using statements under case/default clauses (#62709) 2025-11-19 14:08:45 -08:00
Copilot
486fce7a12 Fix unreachable code detection persisting after incremental edits (#62783)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: jakebailey <5341706+jakebailey@users.noreply.github.com>
2025-11-19 09:46:30 -08:00
TypeScript Bot
54d464b8f3 🤖 Pick PR #62751 (Move unreachable checks to checker) into tsgo-port (#62760)
Co-authored-by: Jake Bailey <5341706+jakebailey@users.noreply.github.com>
2025-11-14 14:12:07 -08:00
Kevin Gibbons
cc2610fd34 Update error for allowImportingTsExtensions to mention rewriteRelativeImportExtensions (#62557) 2025-11-14 09:04:38 -08:00
Jake Bailey
09e31cf04a Move unreachable checks to checker (#62751) 2025-11-13 17:50:42 -08:00