tslib as a dev dependency and commonjs modules are definitely *wrong* in the ideal world, **but** in the real world that's the only combination that works. See https://rust-lang.zulipchat.com/#narrow/stream/185405-t-compiler.2Fwg-rls-2.2E0/topic/Problems.20with.20TypeScript.20build
23 lines
495 B
JSON
23 lines
495 B
JSON
{
|
|
"compilerOptions": {
|
|
"module": "commonjs",
|
|
"target": "es2018",
|
|
"outDir": "out",
|
|
"lib": [
|
|
"es2019"
|
|
],
|
|
"sourceMap": true,
|
|
"rootDir": "src",
|
|
"strict": true,
|
|
"noUnusedLocals": true,
|
|
"noUnusedParameters": true,
|
|
"noImplicitReturns": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
"newLine": "LF",
|
|
"esModuleInterop": true
|
|
},
|
|
"exclude": [
|
|
"node_modules"
|
|
]
|
|
}
|