Refactor module in TypeScript (#28)
This commit is contained in:
parent
83adc096ef
commit
8d8fd2b7e0
7 changed files with 602 additions and 375 deletions
17
tsconfig.json
Normal file
17
tsconfig.json
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
{
|
||||
"compileOnSave": true,
|
||||
"compilerOptions": {
|
||||
/* es2015 requires moduleResolution and module to be set,
|
||||
see https://github.com/Microsoft/TypeScript/issues/8189 */
|
||||
"target": "es2015",
|
||||
"moduleResolution": "node",
|
||||
"module": "none",
|
||||
"strict": true,
|
||||
"declaration": true,
|
||||
"sourceMap": true,
|
||||
"outDir": "dist",
|
||||
"lib": [
|
||||
"es2015", "dom", "scripthost"
|
||||
]
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue