mirror of
https://github.com/Nezumi-2711/typescript-practice.git
synced 2026-09-22 13:48:28 +00:00
Init project
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
/* Language and Environment */
|
||||
"target": "ES2015" /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */,
|
||||
"lib": [
|
||||
"dom",
|
||||
"ES2017",
|
||||
"dom.iterable",
|
||||
"scripthost"
|
||||
] /* Specify a set of bundled library declaration files that describe the target runtime environment. */,
|
||||
"baseUrl": "./",
|
||||
"paths": {
|
||||
"*": ["./src/ts/*"]
|
||||
},
|
||||
"experimentalDecorators": true /* Enable experimental support for legacy experimental decorators. */,
|
||||
/* Modules */
|
||||
"module": "commonjs" /* Specify what module code is generated. */,
|
||||
"rootDir": "./src" /* Specify the root folder within your source files. */,
|
||||
"sourceMap": true /* Create source map files for emitted JavaScript files. */,
|
||||
"removeComments": true /* Disable emitting comments. */,
|
||||
"noEmitOnError": true /* Disable emitting files if any type checking errors are reported. */,
|
||||
"esModuleInterop": true /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables 'allowSyntheticDefaultImports' for type compatibility. */,
|
||||
"forceConsistentCasingInFileNames": true /* Ensure that casing is correct in imports. */,
|
||||
|
||||
/* Type Checking */
|
||||
"strict": true /* Enable all strict type-checking options. */,
|
||||
"noUnusedLocals": true /* Enable error reporting when local variables aren't read. */,
|
||||
"noUnusedParameters": true /* Raise an error when a function parameter isn't read. */,
|
||||
"noImplicitReturns": true /* Enable error reporting for codepaths that do not explicitly return in a function. */,
|
||||
"skipLibCheck": true /* Skip type checking all .d.ts files. */
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user