Session
Your Angular App Is Less Ready for TypeScript 7 Than You Think
TypeScript 7 promises a compiler about 10 times faster. Your Angular app is probably less ready for it than you think.
While testing popular open source projects with TypeScript 7, I ran into three traps:
1. Configuration: options like baseUrl were removed, and TypeScript 7 stops before type-checking anything.
2. Code: some patterns no longer type-check. One popular library goes from 0 to 297 errors, and I reported the root cause to the TypeScript team (microsoft/TypeScript#65600).
3. Ecosystem: Angular itself can't run on TypeScript 7 yet, because its compiler relies on transformers that TypeScript 7 removed. I'll explain where the Angular team is heading.
In this talk, I'll show what TypeScript 7 really changes, measured on real codebases, then walk through each trap live: the error, why it happens, and the fix. We'll finish by checking an Angular app together, so you can do the same on yours.
You'll leave with a migration checklist, and knowing what to fix today so your Angular app is ready when the switch comes.
Outline (45 min):
- 0:00 "10x faster", but does it compile?
- 3:00 What TypeScript 7 is: the native compiler, and what it changes for your app
- 8:00 How I tested it: real open source projects, a reproducible protocol, the speedups measured
- 12:00 Trap 1, configuration: the removed options, the errors you get, and how to fix them (live)
- 20:00 Trap 2, code: from 297 errors to a 3-line repro, finding the root cause, and reporting it to the TypeScript team
- 29:00 Trap 3, ecosystem: why Angular's compiler can't switch yet, and what's coming
- 35:00 Live: checking an Angular app for TypeScript 7, step by step
- 39:00 The migration checklist
- 40:00 Q&A
Martin Ferret
Angular & TypeScript Engineer | Lead Content Owner, JS & TS Certifications at Certificates.dev
Paris, France
Links
Please note that Sessionize is not responsible for the accuracy or validity of the data provided by speakers. If you suspect this profile to be fake or spam, please let us know.
Jump to top