From a2e9b7da0770758ec2c64c7b5fc51ef5939b32c1 Mon Sep 17 00:00:00 2001 From: Benjamin Canac Date: Thu, 30 Nov 2023 16:54:54 +0100 Subject: [PATCH] chore(useUI): missing `undefined` in type --- src/runtime/composables/useUI.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/runtime/composables/useUI.ts b/src/runtime/composables/useUI.ts index 7ab12395..03244757 100644 --- a/src/runtime/composables/useUI.ts +++ b/src/runtime/composables/useUI.ts @@ -4,7 +4,7 @@ import { useAppConfig } from '#imports' import { mergeConfig, omit, get } from '../utils' import type { Strategy } from '../types' -export const useUI = (key, $ui?: Ref & { strategy?: Strategy }>, $config?: Ref | T, $wrapperClass?: Ref, withAppConfig: boolean = false) => { +export const useUI = (key, $ui?: Ref & { strategy?: Strategy } | undefined>, $config?: Ref | T, $wrapperClass?: Ref, withAppConfig: boolean = false) => { const $attrs = useAttrs() const appConfig = useAppConfig()