UNPKG

334 BTypeScriptView Raw
1declare class Watcher{
2 on(event: string, callback: (path: string, ...args: any) => void): Watcher
3}
4
5export declare function watch(source: string, options?: {ignore: RegExp, only: RegExp, chokidar: any}): Watcher;
6
7export declare function targets(source: string, ignore?: RegExp, only?: RegExp): [{ rel: string, id: string }];
\No newline at end of file