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()