Skip to content

Commit 56626b4

Browse files
feat(types): nuxt 2.12 support (#317)
* feat: support nuxt 2.12 * Update packages/types/app/vue.d.ts Co-authored-by: Kevin Marrec <[email protected]>
1 parent d3e8b5c commit 56626b4

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

packages/types/app/vue.d.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,11 @@ declare module 'vue/types/options' {
2727
declare module 'vue/types/vue' {
2828
interface Vue {
2929
$nuxt: NuxtApp
30+
$fetch(): void
31+
$fetchState: {
32+
error: Error | null
33+
pending: boolean
34+
timestamp: number
35+
}
3036
}
3137
}

0 commit comments

Comments
 (0)