ezolenko 80a42b63fa - fix for type definitions eating memory in watch mode
- publishing type definitions
2017-05-29 22:41:44 -06:00

18 lines
678 B
TypeScript

import * as ts from "typescript";
export declare class LanguageServiceHost implements ts.LanguageServiceHost {
private parsedConfig;
private cwd;
private snapshots;
private versions;
constructor(parsedConfig: ts.ParsedCommandLine);
reset(): void;
setSnapshot(fileName: string, data: string): ts.IScriptSnapshot;
getScriptSnapshot(fileName: string): ts.IScriptSnapshot | undefined;
getCurrentDirectory(): string;
getScriptVersion(fileName: string): string;
getScriptFileNames(): string[];
getCompilationSettings(): ts.CompilerOptions;
getDefaultLibFileName(opts: ts.CompilerOptions): string;
private normalize(fileName);
}