Files
zkldi_Tachi/database-seeds/scripts/tsconfig.json
T
zkldi 73abd669dc fix: strict false is actually *causing* errors
would ya believe it? typescript interprets an empty array as
Array<undefined> in non-strict mode, and Array<void> in strict.
This bizarre behaviour causes even more bizarre errors
when using ts-node to run our scripts.
2022-07-17 17:42:26 +01:00

38 lines
704 B
JSON

{
"extends": "../../tsconfig.json",
"compilerOptions": {
"strict": true,
"allowJs": true,
"lib": [
"ES2019",
// This is necessary because -- for some unknown reason -- the AWS SDK
// depends on the DOM. Do people even run the AWS SDK in the browser?
// I hope not.
"DOM"
],
"outDir": "./js",
"baseUrl": "src",
// USE TS-NODE!
"noEmit": true,
"typeRoots": [
"@types",
"node_modules/@types"
],
"paths": {
"tachi-common": [
"../../../common/src"
],
"tachi-common/*": [
"../../../common/src/*"
]
}
},
"ts-node": {
"require": [
"tsconfig-paths/register"
]
},
"exclude": [
"node_modules",
]
}