Merge pull request #4390 from adidahiya/fix-remove-TypeCheckerHost-interface
Make TypeCheckerHost internal
This commit is contained in:
commit
2ed9bdbfb8
5
lib/typescript.d.ts
vendored
5
lib/typescript.d.ts
vendored
|
@ -1019,11 +1019,6 @@ declare module "typescript" {
|
||||||
emitSkipped: boolean;
|
emitSkipped: boolean;
|
||||||
diagnostics: Diagnostic[];
|
diagnostics: Diagnostic[];
|
||||||
}
|
}
|
||||||
interface TypeCheckerHost {
|
|
||||||
getCompilerOptions(): CompilerOptions;
|
|
||||||
getSourceFiles(): SourceFile[];
|
|
||||||
getSourceFile(fileName: string): SourceFile;
|
|
||||||
}
|
|
||||||
interface TypeChecker {
|
interface TypeChecker {
|
||||||
getTypeOfSymbolAtLocation(symbol: Symbol, node: Node): Type;
|
getTypeOfSymbolAtLocation(symbol: Symbol, node: Node): Type;
|
||||||
getDeclaredTypeOfSymbol(symbol: Symbol): Type;
|
getDeclaredTypeOfSymbol(symbol: Symbol): Type;
|
||||||
|
|
5
lib/typescriptServices.d.ts
vendored
5
lib/typescriptServices.d.ts
vendored
|
@ -1019,11 +1019,6 @@ declare namespace ts {
|
||||||
emitSkipped: boolean;
|
emitSkipped: boolean;
|
||||||
diagnostics: Diagnostic[];
|
diagnostics: Diagnostic[];
|
||||||
}
|
}
|
||||||
interface TypeCheckerHost {
|
|
||||||
getCompilerOptions(): CompilerOptions;
|
|
||||||
getSourceFiles(): SourceFile[];
|
|
||||||
getSourceFile(fileName: string): SourceFile;
|
|
||||||
}
|
|
||||||
interface TypeChecker {
|
interface TypeChecker {
|
||||||
getTypeOfSymbolAtLocation(symbol: Symbol, node: Node): Type;
|
getTypeOfSymbolAtLocation(symbol: Symbol, node: Node): Type;
|
||||||
getDeclaredTypeOfSymbol(symbol: Symbol): Type;
|
getDeclaredTypeOfSymbol(symbol: Symbol): Type;
|
||||||
|
|
|
@ -1411,6 +1411,7 @@ namespace ts {
|
||||||
/* @internal */ sourceMaps: SourceMapData[]; // Array of sourceMapData if compiler emitted sourcemaps
|
/* @internal */ sourceMaps: SourceMapData[]; // Array of sourceMapData if compiler emitted sourcemaps
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* @internal */
|
||||||
export interface TypeCheckerHost {
|
export interface TypeCheckerHost {
|
||||||
getCompilerOptions(): CompilerOptions;
|
getCompilerOptions(): CompilerOptions;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue