Agregados archivos para typescript
This commit is contained in:
parent
cee049c545
commit
3a313d033d
2 changed files with 22 additions and 0 deletions
5
resources/js/shims-vue.d.ts
vendored
Normal file
5
resources/js/shims-vue.d.ts
vendored
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
// resources/js/shims-vue.d.ts
|
||||||
|
declare module '*.vue' {
|
||||||
|
import Vue from '../../node_modules/vue/dist/vue.esm.js';
|
||||||
|
export default Vue;
|
||||||
|
}
|
17
tsconfig.json
Normal file
17
tsconfig.json
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
{
|
||||||
|
"compilerOptions": {
|
||||||
|
"target": "esnext",
|
||||||
|
"module": "esnext",
|
||||||
|
"moduleResolution": "node",
|
||||||
|
"lib": ["esnext", "dom"],
|
||||||
|
"jsx": "preserve",
|
||||||
|
"esModuleInterop": true,
|
||||||
|
"allowSyntheticDefaultImports": true,
|
||||||
|
"strict": true,
|
||||||
|
"forceConsistentCasingInFileNames": true,
|
||||||
|
"noImplicitAny": false,
|
||||||
|
"skipLibCheck": true,
|
||||||
|
"types": ["vite/client"]
|
||||||
|
},
|
||||||
|
"include": ["resources/js/**/*", "resources/**/*.vue"]
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue