-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.json
27 lines (27 loc) · 1.91 KB
/
tsconfig.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{
"compilerOptions": {
"incremental": true /* Save .tsbuildinfo files to allow for incremental compilation of projects. */,
"target": "esnext" /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */,
"jsx": "preserve" /* Specify what JSX code is generated. */,
"experimentalDecorators": true /* Enable experimental support for TC39 stage 2 draft decorators. */,
"emitDecoratorMetadata": true /* Emit design-type metadata for decorated declarations in source files. */,
"jsxFactory": "" /* Specify the JSX factory function used when targeting React JSX emit, e.g. 'React.createElement' or 'h'. */,
"jsxFragmentFactory": "" /* Specify the JSX Fragment reference used for fragments when targeting React JSX emit e.g. 'React.Fragment' or 'Fragment'. */ /* Modules */,
"module": "nodenext" /* Specify what module code is generated. */,
"baseUrl": "./" /* Specify the base directory to resolve non-relative module names. */,
"resolveJsonModule": true /* Enable importing .json files. */,
"allowJs": true /* Allow JavaScript files to be a part of your program. Use the 'checkJS' option to get errors from these files. */ /* Interop Constraints */,
"allowSyntheticDefaultImports": true /* Allow 'import x from y' when a module doesn't have a default export. */,
"esModuleInterop": true /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables 'allowSyntheticDefaultImports' for type compatibility. */ /* Completeness */,
"skipLibCheck": true /* Skip type checking all .d.ts files. */,
"lib": ["dom", "dom.iterable", "esnext"],
"strict": true,
"forceConsistentCasingInFileNames": true,
"noEmit": true,
"moduleResolution": "nodenext",
"isolatedModules": true,
"outDir": "./dist"
},
"include": ["next-env.d.ts", "app-env.d.ts", "**/*.ts", "**/*.tsx"],
"exclude": ["node_modules"]
}