Investigate updating to TypeScript 7
Categories
(Developer Infrastructure :: Linting and Formatting: JavaScript, task, P2)
Tracking
(Not tracked)
People
(Reporter: standard8, Unassigned, NeedInfo)
References
(Blocks 1 open bug)
Details
TypeScript 7 has just been released and is mainly focussed on improved performance.
I tried updating to it, and it seems like it can run, but the checkRootOnly plugin is not working - I get many results returned from all over the tree.
@zombie: I think you had a look into this before, do you have any ideas here?
| Reporter | ||
Comment 1•4 months ago
|
||
Ah, maybe https://github.com/nonara/ts-patch/issues/181 is relevant.
| Reporter | ||
Updated•24 days ago
|
Comment 2•23 days ago
|
||
TypeScript 7.1 (beta) ships a JS API (typescript/sync: program, type checker, per-file diagnostics), see https://devblogs.microsoft.com/typescript/announcing-typescript-7-1-beta/#typescript-7.1-api. That might let us drop ts-patch: rather than rewriting checkJsDirective in checkRootOnly, a small driver could request semantic diagnostics only for the program's root files.
Description
•