diff --git a/src/runtime/composables/useUI.ts b/src/runtime/composables/useUI.ts index dbc62946..1af13f52 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>, $config?: Ref | T, $wrapperClass?: Ref, withAppConfig: boolean = false) => { +export const useUI = (key, $ui?: Ref | undefined>, $config?: Ref | T, $wrapperClass?: Ref, withAppConfig: boolean = false) => { const $attrs = useAttrs() const appConfig = useAppConfig()