Configure tsconfig
All you need to know about tsconfig
The tsconfig.json
file provides the project's root files as well as the compiler options needed to compile it.
The full list of options may be seen at typescriptlang.org/tsconfig.
TSConfig Bases
There may be a base configuration available at github.com/tsconfig/bases that you can utilize.
if you were writing a project which uses Bun, then you could use the npm module
Quickstart
Compiler Options - popular
-
esModuleInterop Helps mend a few of the fences between CommonJS and ES Modules.
Default: true if module is node16 or nodenext; false otherwise.