Remove unused defaultWatchFileKind method since useFsEvents is default for tsserver and tsc (#51044)

This commit is contained in:
Sheetal Nandi
2022-10-04 15:06:41 -07:00
committed by GitHub
parent 8af9a936b5
commit fc5e72b92c
4 changed files with 2 additions and 178 deletions

View File

@@ -350,7 +350,6 @@ interface Array<T> { length: number; [n: number]: T; }`
private readonly executingFilePath: string;
private readonly currentDirectory: string;
public require: ((initialPath: string, moduleName: string) => RequireResult) | undefined;
public defaultWatchFileKind?: () => WatchFileKind | undefined;
public storeFilesChangingSignatureDuringEmit = true;
watchFile: HostWatchFile;
private inodeWatching: boolean | undefined;
@@ -398,7 +397,6 @@ interface Array<T> { length: number; [n: number]: T; }`
realpath: this.realpath.bind(this),
tscWatchFile,
tscWatchDirectory,
defaultWatchFileKind: () => this.defaultWatchFileKind?.(),
inodeWatching: !!this.inodeWatching,
sysLog: s => this.write(s + this.newLine),
});