pokemon-showdown/sim/tsconfig.json
Guangcong Luo f47e38c5ad Support building TS declarations
`./build decl` now builds TS declarations for everything exported by
`sim/`. Unfortunately, the built TS declarations still refer to global
types, so some things still have `any` type, but it's much better than
nothing.
2021-06-09 17:51:49 -05:00

22 lines
410 B
JSON

{
"compilerOptions": {
"lib": ["es2019"],
"emitDeclarationOnly": true,
"outDir": "../.sim-dist",
"declaration": true,
"target": "esnext",
"module": "commonjs",
"moduleResolution": "node",
"strict": true,
"allowJs": true,
"checkJs": true,
"incremental": true,
"allowUnreachableCode": false
},
"types": ["node"],
"include": [
"./global-types.ts",
"./index.ts",
]
}