UNPKG

lwx-test-ui

Version:

lwx-test-ui

16 lines (15 loc) 703 B
export interface propsType { a: string; b: number; } declare const _default: import('vue').DefineComponent<__VLS_TypePropsToOption<propsType>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<propsType>>>, {}, {}>; export default _default; 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; }; };