mirror of
https://github.com/ezolenko/rollup-plugin-typescript2.git
synced 2025-12-08 19:06:16 +00:00
18 lines
695 B
TypeScript
18 lines
695 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);
|
|
}
|