File tree 3 files changed +15
-6
lines changed
typescript-cjs-using-nodejs
typescript-mjs-using-nodejs
3 files changed +15
-6
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"compilerOptions" : {
3
- "module" : " esnext" ,
4
- "allowSyntheticDefaultImports" : true
3
+ "target" : " esnext" ,
4
+ "allowImportingTsExtensions" : true ,
5
+ "rewriteRelativeImportExtensions" : true ,
6
+ "verbatimModuleSyntax" : true ,
7
+ "module" : " commonjs"
5
8
}
6
9
}
Original file line number Diff line number Diff line change 1
1
{
2
2
"compilerOptions" : {
3
- "module" : " esnext" ,
4
- "allowSyntheticDefaultImports" : true
3
+ "target" : " esnext" ,
4
+ "allowImportingTsExtensions" : true ,
5
+ "rewriteRelativeImportExtensions" : true ,
6
+ "verbatimModuleSyntax" : true ,
7
+ "module" : " esnext"
5
8
}
6
9
}
Original file line number Diff line number Diff line change 1
1
{
2
2
"compilerOptions" : {
3
- "module" : " esnext" ,
4
- "allowSyntheticDefaultImports" : true
3
+ "target" : " esnext" ,
4
+ "allowImportingTsExtensions" : true ,
5
+ "rewriteRelativeImportExtensions" : true ,
6
+ "verbatimModuleSyntax" : true ,
7
+ "module" : " commonjs"
5
8
}
6
9
}
You can’t perform that action at this time.
0 commit comments