|
@@ -58,12 +58,12 @@ export interface ComponentOptions<
|
|
|
PropsDef=PropsDefinition<DefaultProps>> {
|
|
PropsDef=PropsDefinition<DefaultProps>> {
|
|
|
data?: Data;
|
|
data?: Data;
|
|
|
props?: PropsDef;
|
|
props?: PropsDef;
|
|
|
- propsData?: Object;
|
|
|
|
|
|
|
+ propsData?: object;
|
|
|
computed?: Accessors<Computed>;
|
|
computed?: Accessors<Computed>;
|
|
|
methods?: Methods;
|
|
methods?: Methods;
|
|
|
watch?: Record<string, WatchOptionsWithHandler<any> | WatchHandler<any> | string>;
|
|
watch?: Record<string, WatchOptionsWithHandler<any> | WatchHandler<any> | string>;
|
|
|
|
|
|
|
|
- el?: Element | String;
|
|
|
|
|
|
|
+ el?: Element | string;
|
|
|
template?: string;
|
|
template?: string;
|
|
|
render?(createElement: CreateElement): VNode;
|
|
render?(createElement: CreateElement): VNode;
|
|
|
renderError?: (h: () => VNode, err: Error) => VNode;
|
|
renderError?: (h: () => VNode, err: Error) => VNode;
|
|
@@ -83,10 +83,10 @@ export interface ComponentOptions<
|
|
|
|
|
|
|
|
directives?: { [key: string]: DirectiveFunction | DirectiveOptions };
|
|
directives?: { [key: string]: DirectiveFunction | DirectiveOptions };
|
|
|
components?: { [key: string]: Component<any, any, any, any> | AsyncComponent<any, any, any, any> };
|
|
components?: { [key: string]: Component<any, any, any, any> | AsyncComponent<any, any, any, any> };
|
|
|
- transitions?: { [key: string]: Object };
|
|
|
|
|
|
|
+ transitions?: { [key: string]: object };
|
|
|
filters?: { [key: string]: Function };
|
|
filters?: { [key: string]: Function };
|
|
|
|
|
|
|
|
- provide?: Object | (() => Object);
|
|
|
|
|
|
|
+ provide?: object | (() => object);
|
|
|
inject?: InjectOptions;
|
|
inject?: InjectOptions;
|
|
|
|
|
|
|
|
model?: {
|
|
model?: {
|