Skip to content

Commit 4b379f9

Browse files
pguilbertposva
authored andcommitted
feat: use pinia instance from nuxt only in dev mode
1 parent 10bcca7 commit 4b379f9

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

packages/nuxt/global.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
// Global compile-time constants
2+
declare var __TEST__: boolean

packages/nuxt/tsconfig.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"extends": "./playground/.nuxt/tsconfig.json",
33
"include": [
44
"./shims.d.ts",
5+
"./global.d.ts",
56
// missing in the playground
67
"./src"
78
]

0 commit comments

Comments
 (0)