typescript-starter icon indicating copy to clipboard operation
typescript-starter copied to clipboard

esModuleInterop instead of syntheticDefaultImports

Open mahdi-farnia opened this issue 3 years ago • 0 comments

esModuleInterop Option automatically enables the allowSyntheticDefaultImports option that enables this import to working fine when compiling using tsc:

import path from "node:path"

mahdi-farnia avatar Aug 30 '22 14:08 mahdi-farnia