fix(bridge): type `useNuxtApp()` (#3057)

This commit is contained in:
Daniel Roe 2022-02-03 18:02:38 +00:00 committed by GitHub
parent 16167264e3
commit c82d3533bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ export function defineNuxtPlugin (plugin: (nuxtApp: NuxtAppCompat) => void): (ct
}
}
export const useNuxtApp = () => {
export const useNuxtApp = (): NuxtAppCompat => {
const vm = getCurrentInstance()
if (!vm) {