@sandlada/vue-mdc
Version:

14 lines • 458 B
TypeScript
import { type Ref, type WatchCallback, type WatchOptions } from 'vue';
type TObserveProp = {
id: string;
property: Ref<boolean | string | number>;
callback: WatchCallback;
options?: WatchOptions;
};
export declare function useObserveProps(propMap: Array<TObserveProp>): {
observe: (prop: TObserveProp) => void;
unobserve: (propId: string) => void;
unobseveAll: () => void;
};
export {};
//# sourceMappingURL=observe-props.d.ts.map