We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 638cf5b commit 585420eCopy full SHA for 585420e
src/compiler/sys.ts
@@ -846,7 +846,7 @@ namespace ts {
846
}
847
848
849
- type FsWatchCallback = (eventName: "rename" | "change", relativeFileName: string) => void;
+ type FsWatchCallback = (eventName: "rename" | "change", relativeFileName: string | undefined) => void;
850
851
function createFileWatcherCallback(callback: FsWatchCallback): FileWatcherCallback {
852
return (_fileName, eventKind) => callback(eventKind === FileWatcherEventKind.Changed ? "change" : "rename", "");
0 commit comments