UNPKG

474 BTypeScriptView Raw
1/// <reference types="node" />
2import { ComponentType } from './componentTargets';
3import { DiagnosticHandler } from './diagnostics';
4export default function compile({ component, entryPoint, outputDir, defaultLanguage, allowUnknownExternals, onDiagnostic, }: {
5 component: ComponentType;
6 entryPoint: string;
7 outputDir?: string;
8 defaultLanguage: string;
9 allowUnknownExternals?: boolean;
10 onDiagnostic?: DiagnosticHandler;
11}): import("stream").Readable;