@tplc/business
Version:
50 lines (49 loc) • 1.04 kB
TypeScript
declare function __VLS_template(): {
default?(_: {}): any
}
declare const __VLS_component: import('vue').DefineComponent<
__VLS_TypePropsToOption<{
data?: unknown
provideKey: string
}>,
{},
unknown,
{},
{},
import('vue').ComponentOptionsMixin,
import('vue').ComponentOptionsMixin,
{},
string,
import('vue').PublicProps,
Readonly<
import('vue').ExtractPropTypes<
__VLS_TypePropsToOption<{
data?: unknown
provideKey: string
}>
>
>,
{},
{}
>
declare const _default: __VLS_WithTemplateSlots<
typeof __VLS_component,
ReturnType<typeof __VLS_template>
>
export default _default
type __VLS_WithTemplateSlots<T, S> = T & {
new (): {
$slots: S
}
}
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T
type __VLS_TypePropsToOption<T> = {
[K in keyof T]-?: {} extends Pick<T, K>
? {
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>
}
: {
type: import('vue').PropType<T[K]>
required: true
}
}