[NEXT-689] next dev
rewrites isolatedModules
to true in tsconfig with typescript 5 option verbatimModuleSyntax
set to true
#46509
Labels
bug
Issue was opened via the bug report template.
linear: next
Confirmed issue that is tracked by the Next.js team.
locked
Verify canary release
Provide environment information
Which area(s) of Next.js are affected? (leave empty if unsure)
CLI (create-next-app)
Link to the code that reproduces this issue
https://github.com/m1tyya/next-typescript5-bug
To Reproduce
Describe the Bug
Typescript 5 has a new option
verbatimModuleSyntax
which makesisolatedModules
redundant. However, starting a dev server setsisolatedModules
to true.Expected Behavior
Not setting
isolatedModules
value.Which browser are you using? (if relevant)
No response
How are you deploying your application? (if relevant)
No response
NEXT-689
The text was updated successfully, but these errors were encountered: