mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-06-10 18:04:18 -05:00
remove unused diagnostics interfaces
This commit is contained in:
@@ -1,7 +0,0 @@
|
||||
///<reference path='references.ts' />
|
||||
|
||||
module TypeScript.Services {
|
||||
export interface ILanguageServicesDiagnostics {
|
||||
log(content: string): void;
|
||||
}
|
||||
}
|
||||
@@ -14,7 +14,6 @@
|
||||
//
|
||||
|
||||
///<reference path='references.ts' />
|
||||
///<reference path='diagnosticServices.ts' />
|
||||
|
||||
module TypeScript.Services {
|
||||
|
||||
@@ -28,7 +27,6 @@ module TypeScript.Services {
|
||||
getScriptIsOpen(fileName: string): boolean;
|
||||
getScriptByteOrderMark(fileName: string): ts.ByteOrderMark;
|
||||
getScriptSnapshot(fileName: string): TypeScript.IScriptSnapshot;
|
||||
getDiagnosticsObject(): TypeScript.Services.ILanguageServicesDiagnostics;
|
||||
getLocalizedDiagnosticMessages(): any;
|
||||
getCancellationToken(): ts.CancellationToken;
|
||||
}
|
||||
|
||||
@@ -52,7 +52,6 @@ module TypeScript.Services {
|
||||
fileExists(path: string): boolean;
|
||||
directoryExists(path: string): boolean;
|
||||
getParentDirectory(path: string): string;
|
||||
getDiagnosticsObject(): ILanguageServicesDiagnostics;
|
||||
getLocalizedDiagnosticMessages(): string;
|
||||
getCancellationToken(): ts.CancellationToken;
|
||||
}
|
||||
@@ -348,10 +347,6 @@ module TypeScript.Services {
|
||||
return this.shimHost.getScriptByteOrderMark(fileName);
|
||||
}
|
||||
|
||||
public getDiagnosticsObject(): ILanguageServicesDiagnostics {
|
||||
return this.shimHost.getDiagnosticsObject();
|
||||
}
|
||||
|
||||
public getLocalizedDiagnosticMessages(): any {
|
||||
var diagnosticMessagesJson = this.shimHost.getLocalizedDiagnosticMessages();
|
||||
if (diagnosticMessagesJson == null || diagnosticMessagesJson == "") {
|
||||
|
||||
Reference in New Issue
Block a user