forked from laravel/laravel
-
Notifications
You must be signed in to change notification settings - Fork 1
/
tsconfig.json
59 lines (51 loc) · 1.82 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
57
58
59
{
"compilerOptions": {
// - Vue 3 supports ES2016+
// - For Vite, the actual compilation target is determined by the
// `build.target` option in the Vite config.
// So don't change the `target` field here. It has to be
// at least `ES2020` for dynamic `import()`s and `import.meta` to work correctly.
"target": "ESNext",
"module": "ESNext",
"moduleResolution": "bundler",
"resolveJsonModule": true,
"useDefineForClassFields": true,
// required for Vue projects
"jsx": "preserve",
// `"noImplicitThis": true` is part of `strict`
// Added again here in case some users decide to disable `strict`.
// This enables stricter inference for data properties on `this`.
"noImplicitThis": true,
"strict": true,
// Required in Vite
"isolatedModules": true,
// recommended
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
// See <https://github.com/vuejs/vue-cli/pull/5688>
"skipLibCheck": true,
"allowJs": true,
"declaration": true,
"declarationMap": true,
"removeComments": true,
"noEmit": true,
"noImplicitAny": false,
"strictNullChecks": true,
"strictFunctionTypes": true,
"strictBindCallApply": true,
"noFallthroughCasesInSwitch": true,
"paths": {
"@ziggy-js": [ "./vendor/tightenco/ziggy" ],
"@/*": [ "./resources/vue/*" ],
"~/*": [ "./modules/*" ]
}
},
"include": [
"resources/js/**/*.ts",
"resources/js/**/*.d.ts",
"resources/vue/**/*.vue",
"modules/*/resources/js/**/*.ts",
"modules/*/resources/js/**/*.d.ts",
"modules/*/resources/vue/**/*.vue"
]
}