Set up typescript project
This commit is contained in:
parent
838844a9d8
commit
658c523e9c
3 changed files with 32 additions and 0 deletions
23
tsconfig.json
Normal file
23
tsconfig.json
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
{ // See also https://aka.ms/tsconfig
|
||||
"include": [ "static/**/*" ],
|
||||
|
||||
"compilerOptions": {
|
||||
"target": "ES2015",
|
||||
"module": "ES2015",
|
||||
"rootDir": "static",
|
||||
"outDir": "target/static",
|
||||
|
||||
// Misc
|
||||
// TODO Source maps?
|
||||
"forceConsistentCasingInFileNames": true,
|
||||
"newLine": "lf",
|
||||
"removeComments": true,
|
||||
|
||||
// Type checking
|
||||
"noFallthroughCasesInSwitch": true,
|
||||
"noImplicitOverride": true,
|
||||
"noPropertyAccessFromIndexSignature": true,
|
||||
"noUncheckedIndexedAccess": true,
|
||||
"strict": true,
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue