@purevue/reactivity
Version:
## 📖 Introduction
11 lines • 435 B
TypeScript
import { type RefImpl } from '../ref/RefImpl';
export type Getter = () => any;
export type Source = RefImpl<any> | Array<any> | Getter | object;
export type Cb = (newVal: any, oldVal: any) => void;
export interface WatchOptions {
deep?: boolean;
immediate?: boolean;
}
declare function doWatch(source: any, cb?: Function | null, options?: WatchOptions): () => void;
export default doWatch;
//# sourceMappingURL=doWatch.d.ts.map