(system, reportWatchStatus)
| 123081 | ts.noopFileWatcher = { close: ts.noop }; |
| 123082 | ts.returnNoopFileWatcher = function () { return ts.noopFileWatcher; }; |
| 123083 | function createWatchHost(system, reportWatchStatus) { |
| 123084 | if (system === void 0) { system = ts.sys; } |
| 123085 | var onWatchStatusChange = reportWatchStatus || createWatchStatusReporter(system); |
| 123086 | return { |
| 123087 | onWatchStatusChange: onWatchStatusChange, |
| 123088 | watchFile: ts.maybeBind(system, system.watchFile) || ts.returnNoopFileWatcher, |
| 123089 | watchDirectory: ts.maybeBind(system, system.watchDirectory) || ts.returnNoopFileWatcher, |
| 123090 | setTimeout: ts.maybeBind(system, system.setTimeout) || ts.noop, |
| 123091 | clearTimeout: ts.maybeBind(system, system.clearTimeout) || ts.noop |
| 123092 | }; |
| 123093 | } |
| 123094 | ts.createWatchHost = createWatchHost; |
| 123095 | ts.WatchType = { |
| 123096 | ConfigFile: "Config file", |
no test coverage detected