mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
remove unused methods
This commit is contained in:
@@ -52,10 +52,6 @@ module ts {
|
||||
getScriptIsOpen(fileName: string): boolean;
|
||||
getScriptByteOrderMark(fileName: string): number;
|
||||
getScriptSnapshot(fileName: string): ScriptSnapshotShim;
|
||||
resolveRelativePath(path: string, directory: string): string;
|
||||
fileExists(path: string): boolean;
|
||||
directoryExists(path: string): boolean;
|
||||
getParentDirectory(path: string): string;
|
||||
getLocalizedDiagnosticMessages(): string;
|
||||
getCancellationToken(): CancellationToken;
|
||||
}
|
||||
@@ -372,23 +368,6 @@ module ts {
|
||||
public getCancellationToken(): CancellationToken {
|
||||
return this.shimHost.getCancellationToken();
|
||||
}
|
||||
|
||||
// IReferenceResolverHost methods
|
||||
public resolveRelativePath(path: string, directory: string): string {
|
||||
return this.shimHost.resolveRelativePath(path, directory);
|
||||
}
|
||||
|
||||
public fileExists(path: string): boolean {
|
||||
return this.shimHost.fileExists(path);
|
||||
}
|
||||
|
||||
public directoryExists(path: string): boolean {
|
||||
return this.shimHost.directoryExists(path);
|
||||
}
|
||||
|
||||
public getParentDirectory(path: string): string {
|
||||
return this.shimHost.getParentDirectory(path);
|
||||
}
|
||||
}
|
||||
|
||||
function simpleForwardCall(logger: Logger, actionDescription: string, action: () => any): any {
|
||||
|
||||
Reference in New Issue
Block a user