@smyld/vue-property-decorator
Version:
SMYLD Fork version of vue-property-decorator to port the latest version of vue-class-component
10 lines (9 loc) • 365 B
TypeScript
import { Vue, PropOptions } from 'vue-class-component';
import { Constructor } from '../helpers/metadata';
/**
* decorator of model
* @param event event name
* @param options options
* @return PropertyDecorator
*/
export declare function Model(event?: string, options?: PropOptions | Constructor[] | Constructor): (target: Vue, key: string) => void;