Skip to content

Commit cc31ce5

Browse files
committed
fix(app): missing vue-i18n types
1 parent 5474889 commit cc31ce5

File tree

3 files changed

+10
-1
lines changed

3 files changed

+10
-1
lines changed

packages/app/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
"compilerOptions": {
33
"target": "ESNext",
44
"module": "ESNext",
5+
"composite": true,
56
"jsx": "preserve",
67
"esModuleInterop": true,
78
"moduleResolution": "node16",
89
"resolveJsonModule": true,
910
"allowJs": true,
10-
"declaration": false,
1111
"skipLibCheck": false,
1212
"allowSyntheticDefaultImports": true,
1313
"strictNullChecks": true,

packages/app/vite-env.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/// <reference types="vite/client" />
2+
/// <reference types="vue-i18n/dist/vue-i18n.d.ts" />
23

34
declare module '*.vue' {
45
import type { DefineComponent } from 'vue'

tsconfig.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"files": [],
3+
"references": [
4+
{
5+
"path": "packages/app"
6+
}
7+
]
8+
}

0 commit comments

Comments
 (0)