Commit Graph

36719 Commits

Author SHA1 Message Date
copilot-swe-agent[bot]
8198701a44 Refine fix to report error for inaccessible unique symbol property keys
Add accessibility check in getPropertyNameNodeForSymbolFromNameType to
detect when a unique symbol from an external module cannot be directly
accessed as a value. Reports a non-serializable property error to prevent
generating broken declaration files with undefined symbol references.

Co-authored-by: DanielRosenwasser <972891+DanielRosenwasser@users.noreply.github.com>
2026-02-06 23:15:38 +00:00
copilot-swe-agent[bot]
5589214165 Fix declaration emit for symbol property keys from external modules
When a type uses a unique symbol from an external module as a property key,
check if the symbol is directly accessible as a value. If not, report
a non-serializable property error instead of silently emitting a broken
declaration file with an undefined reference.

Co-authored-by: DanielRosenwasser <972891+DanielRosenwasser@users.noreply.github.com>
2026-02-06 22:54:50 +00:00
copilot-swe-agent[bot]
629a7104cc Add test case for symbol property key import in declaration emit
Co-authored-by: DanielRosenwasser <972891+DanielRosenwasser@users.noreply.github.com>
2026-02-06 22:04:20 +00:00
copilot-swe-agent[bot]
5430ba6f15 Initial plan 2026-02-06 21:56:09 +00:00
printfn
d3ce3cfc38 Implement Intl Locale Info proposal (#60656)
Co-authored-by: printfn <printfn@users.noreply.github.com>
Co-authored-by: Jake Bailey <5341706+jakebailey@users.noreply.github.com>
2026-02-06 21:40:58 +00:00
René
e018d8ca9e Add proposal-upsert methods to lib.esnext.collection (#62612)
Co-authored-by: Jake Bailey <5341706+jakebailey@users.noreply.github.com>
2026-02-06 20:24:03 +00:00
Jake Bailey
0208948c95 Add --stableTypeOrdering for TS7 ordering compat (#63084) 2026-02-06 20:19:07 +00:00
quisi.do
a84710df61 add collation to Intl.CollatorOptions (#62971) 2026-02-06 19:24:06 +00:00
Kenta Moriuchi
ee09569714 Introduce ES2025 target & Add missing ScriptTargetFeatures (#63046)
Co-authored-by: lionel-rowe <lionel.rowe@gmail.com>
Co-authored-by: 김상두 <puki4416@gmail.com>
Co-authored-by: Jake Bailey <5341706+jakebailey@users.noreply.github.com>
2026-02-06 19:02:59 +00:00
Avi Vahl
d67f0af5e4 fix(jsx): correct source location when react-jsx and whitespace before jsx (#61534) 2026-02-05 01:16:30 +00:00
Ryan Cavanaugh
f09a0e598a Set default types array to []; support "*" wildcard (#63054)
Co-authored-by: Sheetal Nandi <shkamat@microsoft.com>
2026-02-05 00:43:23 +00:00
Daniel Rosenwasser
66decdf62b Update descriptions for strict-related flags (#63095) 2026-02-05 00:42:27 +00:00
Jake Bailey
a88d4c1ec3 Disable macOS in PR CI (#63097) 2026-02-05 00:14:51 +00:00
Jake Bailey
74885dde4c Deprecate downlevelIteration (#63071) 2026-02-04 22:59:52 +00:00
Jake Bailey
022800b047 Fix some tests that should have stayed ES5 (#63086) 2026-02-04 19:11:21 +00:00
Ryan Cavanaugh
ffd1c3a198 Deprecate alwaysStrict: false (#63089) 2026-02-04 18:37:38 +00:00
Daniel Rosenwasser
01c23d68b1 Switch the default of --strict to true (#63087) 2026-02-04 04:38:33 +00:00
Jake Bailey
43db4c107c Hide omitted expression types in type baselines (#63081) 2026-02-03 15:56:10 +00: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
dependabot[bot]
8a55156f23 Bump the github-actions group with 2 updates (#63078)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-02 18:27:50 +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
dependabot[bot]
114327939c Bump the github-actions group with 2 updates (#63053)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-01-26 16:52:18 +00:00
Jake Bailey
b19a9da2a3 Fix transform crash with destructured parameter property (#63043) 2026-01-23 23:48:05 +00:00
dependabot[bot]
d9d9eeafa0 Bump the github-actions group across 1 directory with 3 updates (#63013)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-01-21 19:43:57 +00:00
Daniel Rosenwasser
c3dc61d18a Turn // @strict off in all failing fourslash tests which do not contain baseline calls (#63023) 2026-01-21 17:29:18 +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
Daniel Rosenwasser
58ed4bcfe4 More test suite strictness fixups (#63022) 2026-01-21 00:19:04 +00:00
o-m12a
ff5dbcf272 Fix a typo in the JSDoc of Math.trunc(…) (#63020) 2026-01-21 00:17:15 +00:00
Daniel Rosenwasser
7f6a84673d Prepare tests for --noImplicitAny (#62989)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-01-16 19:09:29 +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
Daniel Rosenwasser
64d1978944 More strictness prep (#62984) 2026-01-14 00:19:55 +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
Daniel Rosenwasser
f5ccf4345d Test updates for strict initialization (#62958) 2026-01-09 23:47:35 +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
Daniel Rosenwasser
9d364978d3 Simplify "Configure Build Tools" devcontainer step. (#62955) 2026-01-05 22:42:08 +00:00
Anders Hejlsberg
f3770c9b89 Fix crash in abstract property checking (#62923) 2025-12-28 21:12:38 +00:00