Skip to content

Commit e0ed5a0

Browse files
Modify tsconfig
1 parent b2e8ffa commit e0ed5a0

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

tsconfig.json

+8-4
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,7 @@
4040
// "rootDirs": [], /* Allow multiple folders to be treated as one when resolving modules. */
4141
// "typeRoots": [], /* Specify multiple folders that act like './node_modules/@types'. */
4242
"types": [
43-
"vite/client",
44-
"vue/tsx",
45-
"./resources/js/types"
43+
"vite/client"
4644
] /* Specify type package names to be included without being referenced in a source file. */,
4745
// "allowUmdGlobalAccess": true, /* Allow accessing UMD globals from modules. */
4846
// "moduleSuffixes": [], /* List of file name suffixes to search when resolving a module. */
@@ -119,5 +117,11 @@
119117
// "skipDefaultLibCheck": true, /* Skip type checking .d.ts files that are included with TypeScript. */
120118
"skipLibCheck": true /* Skip type checking all .d.ts files. */
121119
},
122-
"include": ["resources/js/**/*.ts", "resources/js/**/*.d.ts", "resources/js/**/*.tsx", "resources/js/**/*.vue"]
120+
"include": [
121+
"resources/js/**/*.ts",
122+
"resources/js/**/*.d.ts",
123+
"resources/js/**/*.tsx",
124+
"resources/js/**/*.vue",
125+
"node_modules/vite/client.d.ts"
126+
]
123127
}

0 commit comments

Comments
 (0)