From c82d3533bcc8a8977e6bfd3d1fd5854f60570227 Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Thu, 3 Feb 2022 18:02:38 +0000 Subject: [PATCH] fix(bridge): type `useNuxtApp()` (#3057) --- packages/bridge/src/runtime/app.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/bridge/src/runtime/app.ts b/packages/bridge/src/runtime/app.ts index 525c514855..bbd0948328 100644 --- a/packages/bridge/src/runtime/app.ts +++ b/packages/bridge/src/runtime/app.ts @@ -66,7 +66,7 @@ export function defineNuxtPlugin (plugin: (nuxtApp: NuxtAppCompat) => void): (ct } } -export const useNuxtApp = () => { +export const useNuxtApp = (): NuxtAppCompat => { const vm = getCurrentInstance() if (!vm) {