Skip to content

Commit

Permalink
fix(types): add onNuxtLoaded and onNuxtReady types (#9510)
Browse files Browse the repository at this point in the history
closes #9447
  • Loading branch information
danielroe committed Jul 2, 2021
1 parent 20f481f commit aa5d05f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/types/app/index.d.ts
Expand Up @@ -176,6 +176,8 @@ export interface NuxtApp extends Vue {
// window.$nuxt
declare global {
interface Window {
onNuxtLoaded: (cb: (app: NuxtApp) => void) => void
onNuxtReady: (cb: (app: NuxtApp) => void) => void
$nuxt: NuxtApp
}
}

0 comments on commit aa5d05f

Please sign in to comment.