| 28 | } |
| 29 | |
| 30 | interface CEvent { |
| 31 | effectTime: number; |
| 32 | pathName: string; |
| 33 | associatedPathName: string | null; |
| 34 | effectType: number; |
| 35 | pathType: number; |
| 36 | } |
| 37 | |
| 38 | export const watch = (path: string, cb: (event: Event) => void): { close: () => boolean } => { |
| 39 | let typedCb: null | ((_: CEvent) => void) = (cEvent) => { |
nothing calls this directly
no outgoing calls
no test coverage detected