diff --git a/lib/typescript.d.ts b/lib/typescript.d.ts index ee69b9ca90..75de230e47 100644 --- a/lib/typescript.d.ts +++ b/lib/typescript.d.ts @@ -1019,11 +1019,6 @@ declare module "typescript" { emitSkipped: boolean; diagnostics: Diagnostic[]; } - interface TypeCheckerHost { - getCompilerOptions(): CompilerOptions; - getSourceFiles(): SourceFile[]; - getSourceFile(fileName: string): SourceFile; - } interface TypeChecker { getTypeOfSymbolAtLocation(symbol: Symbol, node: Node): Type; getDeclaredTypeOfSymbol(symbol: Symbol): Type; diff --git a/lib/typescriptServices.d.ts b/lib/typescriptServices.d.ts index 7b4eaea9e1..d5c60023e9 100644 --- a/lib/typescriptServices.d.ts +++ b/lib/typescriptServices.d.ts @@ -1019,11 +1019,6 @@ declare namespace ts { emitSkipped: boolean; diagnostics: Diagnostic[]; } - interface TypeCheckerHost { - getCompilerOptions(): CompilerOptions; - getSourceFiles(): SourceFile[]; - getSourceFile(fileName: string): SourceFile; - } interface TypeChecker { getTypeOfSymbolAtLocation(symbol: Symbol, node: Node): Type; getDeclaredTypeOfSymbol(symbol: Symbol): Type; diff --git a/src/compiler/types.ts b/src/compiler/types.ts index 95c3aeecc2..91fcbb3478 100644 --- a/src/compiler/types.ts +++ b/src/compiler/types.ts @@ -1411,6 +1411,7 @@ namespace ts { /* @internal */ sourceMaps: SourceMapData[]; // Array of sourceMapData if compiler emitted sourcemaps } + /* @internal */ export interface TypeCheckerHost { getCompilerOptions(): CompilerOptions;