Type Aliases
ArrayPropsDefinition
ArrayPropsDefinition<T>: (keyof T)[]
Type Parameters
AsyncComponent
Type Parameters
AsyncComponentFactory
Type Parameters
AsyncComponentPromise
Async
Component
Promise
<Data, Methods, Computed, Props>: ((resolve
: ((component
: <internal>.Component<Data, Methods, Computed, Props>) => void), reject
: ((reason
?: any) => void)) => Promise<ImportedComponent<Data, Methods, Computed, Props>> | void)Type Parameters
Type declaration
- (resolve: ((component: <internal>.Component<Data, Methods, Computed, Props>) => void), reject: ((reason?: any) => void)): Promise<ImportedComponent<Data, Methods, Computed, Props>> | void
Parameters
resolve: ((component: <internal>.Component<Data, Methods, Computed, Props>) => void)
reject: ((reason?: any) => void)
Returns Promise<ImportedComponent<Data, Methods, Computed, Props>> | void
CombinedVueInstance
CombinedVueInstance<Instance, Data, Methods, Computed, Props>: Data & Methods & Computed & Props & Instance
Type Parameters
Instance extends Vue
Data
Methods
Computed
Props
Component
Component
Type Parameters
DataDef
Data
Def
<Data, Props, V>: Data | ((this
: Readonly<Props> & V) => Data)Type Parameters
DefaultComputed
DefaultComputed: {}
DefaultData
DefaultData<V>: object | ((this: V) => object)
Type Parameters
DefaultMethods
DefaultMethods<V>: {}
Type Parameters
Type declaration
[key: string]: ((this: V, ...args: any[]) => any)
- (this: V, ...args: any[]): any
Parameters
this: V
Rest ...args: any[]
Returns any
DefaultProps
Default
Props
: Record<string, any>Dictionary
Dictionary<T>: {}
Type Parameters
DirectiveFunction
ErrorHandler
ErrorHandler: ((err: Error) => void)
EsModule
EsModule<T>: T | { default: T }
Type Parameters
ExtendedVue
Type Parameters
Instance extends Vue
Data
Methods
Computed
Props
FlatArray
Flat
Array
<Arr, Depth>: { done
: Arr; recur
: Arr extends ReadonlyArray<infer InnerArr
> ? FlatArray<InnerArr, [-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][Depth]> : Arr }[Depth extends -1 ? "done" : "recur"]Type Parameters
ImportedComponent
Type Parameters
InjectKey
InjectKey: string | symbol
InjectOptions
InjectOptions: {} | string[]
IteratorResult
Type Parameters
NormalizedScopedSlot
Position
Position: { x: number; y: number }
PositionResult
Prop
Prop<T>: (() => T) | {} | {}
Type Parameters
PropType
Type Parameters
PropValidator
Type Parameters
PropsDefinition
Type Parameters
RecordPropsDefinition
Record
Props
Definition
<T>: { [ K in keyof T]: PropValidator<T[K]> }Type Parameters
RoutePropsFunction
ScopedSlot
ScopedSlotChildren
ScopedSlotReturnValue
ThisTypedComponentOptionsWithArrayProps
This
Typed
Component
Options
With
Array
Props
<V, Data, Methods, Computed, PropNames>: object & ComponentOptions<V, DataDef<Data, Record<PropNames, any>, V>, Methods, Computed, PropNames[], Record<PropNames, any>> & ThisType<CombinedVueInstance<V, Data, Methods, Computed, Readonly<Record<PropNames, any>>>>Type Parameters
V extends Vue
Data
Methods
Computed
PropNames extends string
ThisTypedComponentOptionsWithRecordProps
This
Typed
Component
Options
With
Record
Props
<V, Data, Methods, Computed, Props>: object & ComponentOptions<V, DataDef<Data, Props, V>, Methods, Computed, RecordPropsDefinition<Props>, Props> & ThisType<CombinedVueInstance<V, Data, Methods, Computed, Readonly<Props>>>Type Parameters
V extends Vue
Data
Methods
Computed
Props
VNodeChildren
This type should be used when an array of strings is used for a component's
propsvalue.