-
Notifications
You must be signed in to change notification settings - Fork 12k
Closed
Labels
Milestone
Description
Command
new, update
Description
It's been a while since we've looked at recent TypeScript configuration changes and refreshed the default Angular setup. We should review recent additions and changes to look for anything we want to enable in ng new
as well as through ng update
for existing apps.
Two options in particular which stand out:
moduleResolution: 'bundler'
- This seems appropriate given our esbuild / Webpack usage.allowSyntheticDefaultImports: true
- I believe this is recommended by the TypeScript team.esModuleInterop: true
- This is highly recommended for our esbuild setup and maybe we should just make it the default.
We don't need to be specifically limited to these three options, but those are the immediate ones to consider.
Describe the solution you'd like
No response
Describe alternatives you've considered
No response