mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-23 14:15:13 +00:00
fix(types): add onNuxtLoaded
and onNuxtReady
types (#9510)
closes #9447
This commit is contained in:
parent
20f481f6f8
commit
aa5d05f8b9
2
packages/types/app/index.d.ts
vendored
2
packages/types/app/index.d.ts
vendored
@ -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
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user