25 lines
1.5 KiB
JSON
25 lines
1.5 KiB
JSON
{
|
|
"exclude": ["node_modules", "dist"],
|
|
"compilerOptions": {
|
|
/* Basic Options */
|
|
"target": "es6",
|
|
"module": "es6",
|
|
"declaration": true, /* Generates corresponding '.d.ts' file. */
|
|
"rootDir": "src",
|
|
"outDir": "dist",
|
|
/* Strict Type-Checking Options */
|
|
"strict": true /* Enable all strict type-checking options. */,
|
|
"noImplicitAny": true /* Raise error on expressions and declarations with an implied 'any' type. */,
|
|
"strictNullChecks": true /* Enable strict null checks. */,
|
|
"strictFunctionTypes": true /* Enable strict checking of function types. */,
|
|
"strictBindCallApply": true /* Enable strict 'bind', 'call', and 'apply' methods on functions. */,
|
|
"strictPropertyInitialization": true /* Enable strict checking of property initialization in classes. */,
|
|
"noImplicitThis": true /* Raise error on 'this' expressions with an implied 'any' type. */,
|
|
"alwaysStrict": true /* Parse in strict mode and emit "use strict" for each source file. */,
|
|
/* Module Resolution Options */
|
|
"moduleResolution": "node" /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */,
|
|
"allowSyntheticDefaultImports": true /* Allow default imports from modules with no default export. This does not affect code emit, just typechecking. */,
|
|
"esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */
|
|
}
|
|
}
|