tsconfig.json 618 字节
Newer Older
R
Init  
Ryan Dahl 已提交
1 2
{
  "compilerOptions": {
R
Ryan Dahl 已提交
3
    "allowJs": true,
R
Init  
Ryan Dahl 已提交
4 5
    "module": "commonjs",
    "noImplicitAny": true,
6
    "baseUrl": ".",
R
Init  
Ryan Dahl 已提交
7 8 9
    "removeComments": true,
    "preserveConstEnums": true,
    "declaration": true,
R
Ryan Dahl 已提交
10
    "target": "es2017",
11
    "lib": ["es2017", "dom"],
R
Init  
Ryan Dahl 已提交
12 13 14 15 16 17 18 19 20 21 22
    "noEmit": true,
    "noUnusedLocals": true,
    "noImplicitReturns": true,
    "noImplicitThis": true,
    "alwaysStrict": true,
    "noUnusedParameters": false,
    "pretty": true,
    "noFallthroughCasesInSwitch": true,
    "allowUnreachableCode": false,
    "experimentalDecorators": true
  },
R
Ryan Dahl 已提交
23 24
  "include": ["*.ts", "*.js"],
  "exclude": ["tests.ts"]
R
Init  
Ryan Dahl 已提交
25
}