-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtsconfig.json
56 lines (56 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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
{
"compilerOptions": {
/* Basic Options */
"target": "esnext",
"module": "esnext",
"resolveJsonModule": true, /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */ // "lib": [], /* Specify library files to be included in the compilation. */
"jsx": "preserve", /* Specify JSX code generation: 'preserve', 'react-native', or 'react'. */
"declaration": true, /* Generates corresponding '.d.ts' file. */ // "declarationMap": true, /* Generates a sourcemap for each corresponding '.d.ts' file. */
"outDir": "lib", /* Redirect output structure to the directory. */ // "rootDir": "./", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */
"strict": true, /* Enable all strict type-checking options. */ // "noImplicitAny": true, /* Raise error on expressions and declarations with an implied 'any' type. */
"baseUrl": "./", /* Base directory to resolve non-absolute module names. */
"paths": {
"@includes/*": [
"components/includes/*"
],
"@layouts/*": [
"components/layouts/*"
],
"@api": [
"api/index"
],
"@thoughts/*": [
"pages/thoughts/*"
],
"@styles/*": [
"styles/*"
]
},
//"types": [],
"allowSyntheticDefaultImports": true,
"esModuleInterop": true,
"lib": [
"dom",
"dom.iterable",
"esnext"
],
"allowJs": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"noEmit": true,
"moduleResolution": "node",
"isolatedModules": true,
"incremental": true
},
"include": [
"next-env.d.ts",
"**/*.ts",
"**/*.tsx",
"next.config.js",
"lib/posts.js",
"components/helpers/ActiveLink.js"
],
"exclude": [
"node_modules"
]
}