Skip to content

Commit 266c74e

Browse files
author
Jaroslav
committed
Adds comments
1 parent 32662bf commit 266c74e

File tree

1 file changed

+101
-22
lines changed

1 file changed

+101
-22
lines changed

tsconfig.json

Lines changed: 101 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,104 @@
11
{
2-
"compilerOptions": {
3-
"allowSyntheticDefaultImports": true,
4-
"lib": ["DOM","ES2021"],
5-
"moduleResolution": "node",
6-
"strict": true,
7-
"strictNullChecks": true,
8-
"noImplicitReturns": true,
9-
"esModuleInterop": true,
10-
"jsx": "react",
11-
"module": "esnext",
12-
"outDir": "./dist/",
13-
"sourceMap": true,
14-
"target": "ES2021",
15-
"disableSizeLimit": false,
16-
"typeRoots": [
17-
"./src/inspector/model",
18-
"./node_modules/@types"
19-
]
20-
},
2+
"compilerOptions": {
3+
"allowSyntheticDefaultImports": true,
4+
"lib": ["DOM", "ES2021"],
5+
"moduleResolution": "node",
216

22-
"exclude": [
23-
"node_modules"
24-
]
7+
"strict": true,
8+
"noImplicitReturns": true,
9+
"noFallthroughCasesInSwitch": true,
10+
// "noUncheckedIndexedAccess": true,
11+
// "noImplicitOverride": true,
12+
// "noPropertyAccessFromIndexSignature": true,
13+
"forceConsistentCasingInFileNames": true,
14+
15+
"esModuleInterop": true,
16+
"jsx": "react",
17+
"module": "esnext",
18+
"outDir": "./dist/",
19+
"sourceMap": true,
20+
"target": "ES2021",
21+
"disableSizeLimit": false,
22+
"typeRoots": [
23+
"./src/inspector/model",
24+
"./node_modules/@types"
25+
]
26+
},
27+
28+
"exclude": [
29+
"node_modules"
30+
]
2531
}
32+
33+
//{
34+
//"compilerOptions": {
35+
/* Visit https://aka.ms/tsconfig.json to read more about this file */
36+
37+
/* Basic Options */
38+
// "incremental": true, /* Enable incremental compilation */
39+
//" target": "es5" /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019', 'ES2020', 'ES2021', or 'ESNEXT'. */,
40+
// "module": "commonjs" /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', 'es2020', or 'ESNext'. */,
41+
// "lib": [], /* Specify library files to be included in the compilation. */
42+
// "allowJs": true, /* Allow javascript files to be compiled. */
43+
// "checkJs": true, /* Report errors in .js files. */
44+
// "jsx": "preserve", /* Specify JSX code generation: 'preserve', 'react-native', 'react', 'react-jsx' or 'react-jsxdev'. */
45+
// "declaration": true, /* Generates corresponding '.d.ts' file. */
46+
// "declarationMap": true, /* Generates a sourcemap for each corresponding '.d.ts' file. */
47+
// "sourceMap": true, /* Generates corresponding '.map' file. */
48+
// "outFile": "./", /* Concatenate and emit output to single file. */
49+
// "outDir": "./", /* Redirect output structure to the directory. */
50+
// "rootDir": "./", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */
51+
// "composite": true, /* Enable project compilation */
52+
// "tsBuildInfoFile": "./", /* Specify file to store incremental compilation information */
53+
// "removeComments": true, /* Do not emit comments to output. */
54+
// "noEmit": true, /* Do not emit outputs. */
55+
// "importHelpers": true, /* Import emit helpers from 'tslib'. */
56+
// "downlevelIteration": true, /* Provide full support for iterables in 'for-of', spread, and destructuring when targeting 'ES5' or 'ES3'. */
57+
// "isolatedModules": true, /* Transpile each file as a separate module (similar to 'ts.transpileModule'). */
58+
59+
/* Strict Type-Checking Options */
60+
// "strict": true /* Enable all strict type-checking options. */,
61+
// "noImplicitAny": true, /* Raise error on expressions and declarations with an implied 'any' type. */
62+
// "strictNullChecks": true, /* Enable strict null checks. */
63+
// "strictFunctionTypes": true, /* Enable strict checking of function types. */
64+
// "strictBindCallApply": true, /* Enable strict 'bind', 'call', and 'apply' methods on functions. */
65+
// "strictPropertyInitialization": true, /* Enable strict checking of property initialization in classes. */
66+
// "noImplicitThis": true, /* Raise error on 'this' expressions with an implied 'any' type. */
67+
// "alwaysStrict": true, /* Parse in strict mode and emit "use strict" for each source file. */
68+
69+
/* Additional Checks */
70+
// "noUnusedLocals": true, /* Report errors on unused locals. */
71+
// "noUnusedParameters": true, /* Report errors on unused parameters. */
72+
// "noImplicitReturns": true, /* Report error when not all code paths in function return a value. */
73+
// "noFallthroughCasesInSwitch": true, /* Report errors for fallthrough cases in switch statement. */
74+
// "noUncheckedIndexedAccess": true, /* Include 'undefined' in index signature results */
75+
// "noImplicitOverride": true, /* Ensure overriding members in derived classes are marked with an 'override' modifier. */
76+
// "noPropertyAccessFromIndexSignature": true, /* Require undeclared properties from index signatures to use element accesses. */
77+
78+
/* Module Resolution Options */
79+
// "moduleResolution": "node", /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */
80+
// "baseUrl": "./", /* Base directory to resolve non-absolute module names. */
81+
// "paths": {}, /* A series of entries which re-map imports to lookup locations relative to the 'baseUrl'. */
82+
// "rootDirs": [], /* List of root folders whose combined content represents the structure of the project at runtime. */
83+
// "typeRoots": [], /* List of folders to include type definitions from. */
84+
// "types": [], /* Type declaration files to be included in compilation. */
85+
// "allowSyntheticDefaultImports": true, /* Allow default imports from modules with no default export. This does not affect code emit, just typechecking. */
86+
// "esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */,
87+
// "preserveSymlinks": true, /* Do not resolve the real path of symlinks. */
88+
// "allowUmdGlobalAccess": true, /* Allow accessing UMD globals from modules. */
89+
90+
/* Source Map Options */
91+
// "sourceRoot": "", /* Specify the location where debugger should locate TypeScript files instead of source locations. */
92+
// "mapRoot": "", /* Specify the location where debugger should locate map files instead of generated locations. */
93+
// "inlineSourceMap": true, /* Emit a single file with source maps instead of having a separate file. */
94+
// "inlineSources": true, /* Emit the source alongside the sourcemaps within a single file; requires '--inlineSourceMap' or '--sourceMap' to be set. */
95+
96+
/* Experimental Options */
97+
// "experimentalDecorators": true, /* Enables experimental support for ES7 decorators. */
98+
// "emitDecoratorMetadata": true, /* Enables experimental support for emitting type metadata for decorators. */
99+
100+
/* Advanced Options */
101+
// "skipLibCheck": true /* Skip type checking of declaration files. */,
102+
// "forceConsistentCasingInFileNames": true /* Disallow inconsistently-cased references to the same file. */
103+
//}
104+
//}

0 commit comments

Comments
 (0)