mirror of
https://github.com/nuxt/nuxt.git
synced 2025-01-18 01:15:58 +00:00
fix(bridge): type useNuxtApp()
(#3057)
This commit is contained in:
parent
16167264e3
commit
c82d3533bc
@ -66,7 +66,7 @@ export function defineNuxtPlugin (plugin: (nuxtApp: NuxtAppCompat) => void): (ct
|
||||
}
|
||||
}
|
||||
|
||||
export const useNuxtApp = () => {
|
||||
export const useNuxtApp = (): NuxtAppCompat => {
|
||||
const vm = getCurrentInstance()
|
||||
|
||||
if (!vm) {
|
||||
|
Loading…
Reference in New Issue
Block a user