Skip to content

wevu / index / DefineComponent

类型别名: DefineComponent<PropsOrPropOptions, RawBindings, D, C, M, Mixin, Extends, E, EE, PP, Props, Defaults, S>

DefineComponent<PropsOrPropOptions, RawBindings, D, C, M, Mixin, Extends, E, EE, PP, Props, Defaults, S> = VueDefineComponent<PropsOrPropOptions, RawBindings, D, C, M, Mixin, Extends, E, EE, PP, Props, Defaults, S>

定义于: packages/wevu/src/vue-types.ts:27

类型参数

PropsOrPropOptions

PropsOrPropOptions = ComponentPropsOptions

RawBindings

RawBindings = Record<string, any>

D

D = Record<string, any>

C

C extends VueComputedOptions = VueComputedOptions

M

M extends VueMethodOptions = VueMethodOptions

Mixin

Mixin extends VueComponentOptionsMixin = VueComponentOptionsMixin

Extends

Extends extends VueComponentOptionsMixin = VueComponentOptionsMixin

E

E extends VueEmitsOptions = VueEmitsOptions

EE

EE extends string = string

PP

PP = VuePublicProps

Props

Props = PropsOrPropOptions extends ComponentPropsOptions ? ExtractPropTypes<PropsOrPropOptions> : PropsOrPropOptions

Defaults

Defaults = PropsOrPropOptions extends ComponentPropsOptions ? ExtractDefaultPropTypes<PropsOrPropOptions> : object

S

S extends VueSlotsType = VueSlotsType

Released under the MIT License.