Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
feat(types): nuxt 2.12 support (#317)
* feat: support nuxt 2.12

* Update packages/types/app/vue.d.ts

Co-authored-by: Kevin Marrec <kevin@marrec.io>
  • Loading branch information
baranwang and kevinmarrec committed Mar 22, 2020
1 parent d3e8b5c commit 56626b4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/types/app/vue.d.ts
Expand Up @@ -27,5 +27,11 @@ declare module 'vue/types/options' {
declare module 'vue/types/vue' {
interface Vue {
$nuxt: NuxtApp
$fetch(): void
$fetchState: {
error: Error | null
pending: boolean
timestamp: number
}
}
}

0 comments on commit 56626b4

Please sign in to comment.