1711 Commits

Author SHA1 Message Date
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
Ryan Cavanaugh
ffd1c3a198
Deprecate alwaysStrict: false (#63089) 2026-02-04 18:37:38 +00:00
Jake Bailey
95e3aaa903
Default target to "latest standard", deprecate ES5 (#63067) 2026-01-31 05:13:25 +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
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
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
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
Andrew Branch
42f6576e83
Deprecate --module amd, umd, system, none; --moduleResolution classic; change defaults (#62669) 2025-10-24 14:57:57 -07:00
Jake Bailey
96acaa5290
Remove no-default-lib (#62435) 2025-09-24 16:16:14 -07:00
Sheetal Nandi
e9bcbe6ef7
Fix incorrectly ignored dts file from project reference for resolution (#62438) 2025-09-11 19:14:30 +00:00
Mateusz Burzyński
4f94cb2aa4
Fix parenthesizer rules for manually constructed binary expressions with ?? and ||/&& mix (#62311) 2025-09-09 10:06:00 -07:00
Andrew Branch
7956c00166
Deprecate --moduleResolution node10 (#62338) 2025-08-27 13:51:20 -07:00
Mateusz Burzyński
91cdbd518c
Fixed nullish coalesce operator's precedence (#61372) 2025-06-30 13:49:03 -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
Ryan Cavanaugh
cd341998a9
tsc --init update (#61813) 2025-06-06 12:03:28 -07:00
Sheetal Nandi
b504a1eed4
Handle lock file 3 version when caching the typings ensuring we can reuse already installed packages (#61730) 2025-05-21 13:58:23 -07:00
Jake Bailey
220706eb03
Add new option "libReplacement" (#60829) 2025-01-23 17:34:52 -08:00
Andrew Branch
b78f466812
Fix ESM/CJS resolution cache collision in non-nodenext resolution modes (#60910) 2025-01-21 11:10:51 -08:00
Andrew Branch
e9738050cf
Write path normalization without array allocations (#60812) 2025-01-09 11:36:08 -08:00
Daniel Rosenwasser
c8af21b4fb
Add tests for getNormalizedAbsolutePath. (#60802) 2024-12-17 17:45:48 -08:00
navya9singh
0ec4d30a6e
Fixing exception on unsaved file (#60362) 2024-11-02 22:55:36 -07:00
Ron Buckton
e6ef279403
Fix template string escaping (#60303) 2024-10-21 13:18:54 -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
Mateusz Burzyński
9f150e00df
Replace Debug.checkDefined to avoid redundant debugger stops (#60009) 2024-09-19 14:08:12 -07:00
Sheetal Nandi
02b07a1788
Dont open composite projects to determine if script info is part of project (#59688) 2024-09-18 10:35:22 -07:00
Isabel Duan
52eaa7b02f
Enable --isolatedDeclarations on TS codebase (#59635)
Co-authored-by: Sheetal Nandi <shkamat@microsoft.com>
Co-authored-by: Andrew Branch <andrew@wheream.io>
2024-09-15 18:10:52 -07:00
Wesley Wigham
0d7763e4c8
Sanitize version string for syntactically invalid buildinfo baselines (#59932) 2024-09-10 13:58:33 -07:00
Sheetal Nandi
31afb988d1
Updates to --build parsing on command line (#59874) 2024-09-06 12:52:55 -07:00
Sheetal Nandi
ea699093ce
We may not always get file notifications for file creation, so always check for failed lookups starting with the path as well as exact path (#59882) 2024-09-06 12:20:13 -07:00
Sheetal Nandi
2fb1363b82
Make "/home/src/workspaces/project" as default current directory without having to specify it for tsc tests (#59875) 2024-09-05 16:15:20 -07:00
Sheetal Nandi
d514dab3f6
Fix the incorrect copy over for watchOptions and fix order of watches for referenced projects (#59871) 2024-09-05 13:30:08 -07:00
Sheetal Nandi
87d0e771a8
Fix issues with global typings cache and what gets watches (#59869) 2024-09-05 13:06:30 -07:00
Sheetal Nandi
7976d9cef5
Refactor tsserver, tsc and fourslash-server tests so that paths are always watchable (#59844) 2024-09-04 14:22:10 -07:00
Jake Bailey
82e4682541
Drop tsserverlibrary.d.ts from baselines, simplify APILibCheck (#59722) 2024-08-22 14:12:59 -07:00
Andrew Branch
a5eec2485f
Simplify handling of node:-prefixed modules in auto-imports (#59702) 2024-08-21 16:43:21 -07:00
Andrew Branch
7f597beb2e
Don’t try to recreate AutoImportProvider after giving up because of too many dependencies until program structure changes (#59692) 2024-08-20 17:12:28 -07:00
Sheetal Nandi
d06fb82d7c
Add option --stopBuildOnErrors to tsbuild to get previous behavior of not building downstream projects if upstream has errors (#59433) 2024-08-16 19:02:42 -07:00
Ron Buckton
f025a5b879
built-in iterators should be disposable (#59633) 2024-08-16 11:57:04 -04:00
Titian Cernicova-Dragomir
52395892e0
Set declarationMap to false in transpileModule. (#59642) 2024-08-15 16:57:37 -07:00
Jake Bailey
25e09d9fc3
Add custom eslint rule 'no-array-mutating-method-expressions' (#59526) 2024-08-14 09:28:57 -07:00
Sheetal Nandi
7753487591
Handle delayed or missed watches for project updates (#59625) 2024-08-13 17:58:08 -07:00
Jake Bailey
195203e971
Add regex eslint plugin, fix lints (#59371) 2024-08-13 14:16:53 -07:00
Wesley Wigham
03bca1d8fe
Allow trailing commas on lambda type parameter lists (#59612) 2024-08-13 11:55:27 -07:00
Ron Buckton
67d0fc13ce
Use global Iterator.prototype for down-level generators (#59514) 2024-08-08 12:20:59 -04:00
Andrew Branch
34048178a2
Move ambient const enum error from use site to import in verbatimModuleSyntax (#59438) 2024-07-30 11:20:59 -07:00
Jake Bailey
74cefa848c
Tighten signature of append (#59426) 2024-07-26 10:08:40 -07:00
Isabel Duan
107a007a9a
organizeImports makes no changes if there are parse errors in the sourceFile (#58903) 2024-07-25 16:28:19 -07:00