1{
2 "compilerOptions": {
3 /* κΈ°λ³Έ μ΅μ
*/
4 "target": "ES2020", /* μΆλ ₯ JavaScript λ²μ */
5 "module": "commonjs", /* λͺ¨λ μμ€ν
*/
6 "lib": ["ES2020", "DOM"], /* ν¬ν¨ν λΌμ΄λΈλ¬λ¦¬ */
7 "outDir": "./dist", /* μΆλ ₯ λλ ν 리 */
8 "rootDir": "./", /* μμ€ λ£¨νΈ λλ ν 리 */
9
10 /* μ격ν νμ
μ²΄ν¬ */
11 "strict": true, /* λͺ¨λ μ격ν νμ
μ²΄ν¬ μ΅μ
νμ±ν */
12 "strictNullChecks": true, /* null/undefined μ격 μ²΄ν¬ */
13 "strictFunctionTypes": true, /* ν¨μ νμ
μ격 μ²΄ν¬ */
14 "strictBindCallApply": true, /* bind, call, apply μ격 μ²΄ν¬ */
15 "strictPropertyInitialization": true, /* ν΄λμ€ μμ± μ΄κΈ°ν μ²΄ν¬ */
16 "noImplicitAny": true, /* μμμ any κΈμ§ */
17 "noImplicitThis": true, /* μμμ this κΈμ§ */
18 "alwaysStrict": true, /* "use strict" μΆκ° */
19
20 /* μΆκ° μ²΄ν¬ */
21 "noUnusedLocals": true, /* μ¬μ©νμ§ μλ μ§μ λ³μ μλ¬ */
22 "noUnusedParameters": true, /* μ¬μ©νμ§ μλ λ§€κ°λ³μ μλ¬ */
23 "noImplicitReturns": true, /* μμμ λ°ν κΈμ§ */
24 "noFallthroughCasesInSwitch": true, /* switch fall-through κΈμ§ */
25 "noUncheckedIndexedAccess": true, /* μΈλ±μ€ μ κ·Ό μ undefined ν¬ν¨ */
26
27 /* λͺ¨λ ν΄κ²° */
28 "moduleResolution": "node", /* λͺ¨λ ν΄κ²° λ°©μ */
29 "esModuleInterop": true, /* ES λͺ¨λ μνΈ μ΄μ© */
30 "allowSyntheticDefaultImports": true, /* default import νμ© */
31 "resolveJsonModule": true, /* JSON import νμ© */
32
33 /* μμ€λ§΅ */
34 "sourceMap": true, /* .map νμΌ μμ± */
35 "declaration": true, /* .d.ts νμΌ μμ± */
36 "declarationMap": true, /* .d.ts.map νμΌ μμ± */
37
38 /* κΈ°ν */
39 "forceConsistentCasingInFileNames": true, /* νμΌλͺ
λμλ¬Έμ μΌκ΄μ± */
40 "skipLibCheck": true, /* λΌμ΄λΈλ¬λ¦¬ νμ
μ²΄ν¬ μ€ν΅ */
41 "removeComments": false /* μ£Όμ μ μ§ */
42 },
43 "include": [
44 "*.ts"
45 ],
46 "exclude": [
47 "node_modules",
48 "dist"
49 ]
50}