feat(core): adjust attrs fallthrough behavior
This commit is contained in:
@@ -62,6 +62,7 @@ export interface ComponentOptionsBase<
|
||||
render?: Function
|
||||
components?: Record<string, Component>
|
||||
directives?: Record<string, Directive>
|
||||
inheritAttrs?: boolean
|
||||
}
|
||||
|
||||
export type ComponentOptionsWithoutProps<
|
||||
@@ -80,7 +81,7 @@ export type ComponentOptionsWithArrayProps<
|
||||
D = {},
|
||||
C extends ComputedOptions = {},
|
||||
M extends MethodOptions = {},
|
||||
Props = { [key in PropNames]?: unknown }
|
||||
Props = { [key in PropNames]?: any }
|
||||
> = ComponentOptionsBase<Props, RawBindings, D, C, M> & {
|
||||
props: PropNames[]
|
||||
} & ThisType<ComponentPublicInstance<Props, RawBindings, D, C, M>>
|
||||
|
||||
Reference in New Issue
Block a user