50 lines
1.2 KiB
JSON
50 lines
1.2 KiB
JSON
{
|
|
// Visit https://aka.ms/tsconfig to read more about this file
|
|
"compilerOptions": {
|
|
// File Layout
|
|
"rootDir": "./src",
|
|
"outDir": "./dist",
|
|
|
|
// Environment Settings
|
|
// See also https://aka.ms/tsconfig/module
|
|
"module": "nodenext",
|
|
"target": "esnext",
|
|
// "types": [],
|
|
// For nodejs:
|
|
"lib": ["esnext"],
|
|
"types": ["node"],
|
|
// and npm install -D @types/node
|
|
|
|
// Other Outputs
|
|
"sourceMap": true,
|
|
"declaration": true,
|
|
"declarationMap": true,
|
|
|
|
// Stricter Typechecking Options
|
|
"noUncheckedIndexedAccess": true,
|
|
"exactOptionalPropertyTypes": true,
|
|
|
|
// Style Options
|
|
// "noImplicitReturns": true,
|
|
// "noImplicitOverride": true,
|
|
"noUnusedLocals": true,
|
|
"noUnusedParameters": true,
|
|
// "noFallthroughCasesInSwitch": true,
|
|
// "noPropertyAccessFromIndexSignature": true,
|
|
|
|
// Recommended Options
|
|
"strict": true,
|
|
"jsx": "react-jsx",
|
|
"verbatimModuleSyntax": true,
|
|
"isolatedModules": true,
|
|
"noUncheckedSideEffectImports": true,
|
|
"moduleDetection": "force",
|
|
"skipLibCheck": true,
|
|
},
|
|
"files": [
|
|
"src/index.ts",
|
|
"src/grid.ts",
|
|
"src/word.ts"
|
|
]
|
|
}
|