UNPKG

541 BTypeScriptView Raw
1import Vue, { ComponentOptions } from 'vue';
2import { VueClass } from './declarations';
3export { createDecorator, VueDecorator, mixins } from './util';
4declare function Component<V extends Vue>(options: ComponentOptions<V> & ThisType<V>): <VC extends VueClass<V>>(target: VC) => VC;
5declare namespace Component {
6 var registerHooks: (keys: string[]) => void;
7}
8declare function Component<VC extends VueClass<Vue>>(target: VC): VC;
9declare namespace Component {
10 var registerHooks: (keys: string[]) => void;
11}
12export default Component;