UNPKG

vue-reactive-refs

Version:

Make $refs reactive so they can be used in computed properties and watchers

8 lines (7 loc) 226 B
import Vue, { PluginFunction } from 'vue'; declare module 'vue/types/options' { interface ComponentOptions<V extends Vue> { refs?: string[]; } } export declare const ReactiveRefs: PluginFunction<never>;