From 4e570248d6c2253c798665cf3d8415daa3f8c354 Mon Sep 17 00:00:00 2001 From: Mohamed Hegazy Date: Fri, 25 Jul 2014 14:38:53 -0700 Subject: [PATCH] remove unused methods --- src/services/shims.ts | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/src/services/shims.ts b/src/services/shims.ts index 1949d58d6c2..c2402aebd52 100644 --- a/src/services/shims.ts +++ b/src/services/shims.ts @@ -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 {