UNPKG

jsii-rosetta

Version:

[![Join the chat at https://cdk.Dev](https://img.shields.io/static/v1?label=Slack&message=cdk.dev&color=brightgreen&logo=slack)](https://cdk.dev) [![All Contributors](https://img.shields.io/github/all-contributors/aws/jsii/main?label=%E2%9C%A8%20All%20Con

16 lines 686 B
import * as ts from 'typescript'; export declare class TypeScriptCompiler { private readonly realHost; /** * A compiler-scoped cache to avoid having to re-parse the same library files for every compilation */ private readonly fileCache; createInMemoryCompilerHost(sourcePath: string, sourceContents: string, currentDirectory?: string): ts.CompilerHost; compileInMemory(filename: string, contents: string, currentDirectory?: string): CompilationResult; } export interface CompilationResult { program: ts.Program; rootFile: ts.SourceFile; } export declare const STANDARD_COMPILER_OPTIONS: ts.CompilerOptions; //# sourceMappingURL=ts-compiler.d.ts.map