( log: ((event: HotStateReloadLogEvent) => void) | undefined, )
| 229 | } |
| 230 | |
| 231 | function makeLogSink( |
| 232 | log: ((event: HotStateReloadLogEvent) => void) | undefined, |
| 233 | ): (event: HotStateReloadLogEvent) => void { |
| 234 | if (typeof log === "function") return log; |
| 235 | return () => {}; |
| 236 | } |
| 237 | |
| 238 | function toWatchDirectory(pathLike: string): string { |
| 239 | try { |
no outgoing calls
no test coverage detected