UNPKG

bit-bin

Version:

<a href="https://opensource.org/licenses/Apache-2.0"><img alt="apache" src="https://img.shields.io/badge/License-Apache%202.0-blue.svg"></a> <a href="https://github.com/teambit/bit/blob/master/CONTRIBUTING.md"><img alt="prs" src="https://img.shields.io/b

18 lines (17 loc) 568 B
import { Compiler } from '../compiler'; import { Network } from '../isolator'; import { BuildResults } from '../builder'; export declare class TypescriptCompiler implements Compiler { readonly tsConfig: Record<string, any>; constructor(tsConfig: Record<string, any>); compileFile(fileContent: string, options: { componentDir: string; filePath: string; }): { outputText: string; outputPath: string; }[] | null; compileOnCapsules({ capsuleGraph }: { capsuleGraph: Network; }): Promise<BuildResults>; }