add tsconfig.json
- SHA
c26213eedfe595f83cc1eaa5f3cc1bfa015f3f1c- Parents
-
64e5e05 - Tree
1304f74
c26213e
c26213eedfe595f83cc1eaa5f3cc1bfa015f3f1c64e5e05
1304f74| Status | File | + | - |
|---|---|---|---|
| A |
tsconfig.json
|
41 | 0 |
tsconfig.jsonadded@@ -0,0 +1,41 @@ | |||
| 1 | +{ | ||
| 2 | + "compilerOptions": { | ||
| 3 | + "lib": [ | ||
| 4 | + "dom", | ||
| 5 | + "dom.iterable", | ||
| 6 | + "esnext" | ||
| 7 | + ], | ||
| 8 | + "allowJs": true, | ||
| 9 | + "skipLibCheck": true, | ||
| 10 | + "strict": true, | ||
| 11 | + "noEmit": true, | ||
| 12 | + "esModuleInterop": true, | ||
| 13 | + "module": "esnext", | ||
| 14 | + "moduleResolution": "bundler", | ||
| 15 | + "resolveJsonModule": true, | ||
| 16 | + "isolatedModules": true, | ||
| 17 | + "jsx": "react-jsx", | ||
| 18 | + "incremental": true, | ||
| 19 | + "plugins": [ | ||
| 20 | + { | ||
| 21 | + "name": "next" | ||
| 22 | + } | ||
| 23 | + ], | ||
| 24 | + "paths": { | ||
| 25 | + "@/*": [ | ||
| 26 | + "./src/*" | ||
| 27 | + ] | ||
| 28 | + }, | ||
| 29 | + "target": "ES2017" | ||
| 30 | + }, | ||
| 31 | + "include": [ | ||
| 32 | + "next-env.d.ts", | ||
| 33 | + "**/*.ts", | ||
| 34 | + "**/*.tsx", | ||
| 35 | + ".next/types/**/*.ts", | ||
| 36 | + ".next/dev/types/**/*.ts" | ||
| 37 | + ], | ||
| 38 | + "exclude": [ | ||
| 39 | + "node_modules" | ||
| 40 | + ] | ||
| 41 | +} | ||