UNPKG

319 BTypeScriptView Raw
1import Vue, { PropOptions } from 'vue';
2import { Constructor } from 'vue/types/options';
3/**
4 * decorator of a prop
5 * @param options the options for the prop
6 * @return PropertyDecorator | void
7 */
8export declare function Prop(options?: PropOptions | Constructor[] | Constructor): (target: Vue, key: string) => void;