@ivi/compiler
Version:
ivi compiler NAPI
19 lines (16 loc) • 464 B
TypeScript
/* auto-generated by NAPI-RS */
/* eslint-disable */
export declare class CompilerOutput {
code: string
map: string
}
export declare class TemplateCompiler {
constructor(options?: CompilerOptions | undefined | null)
transform(sourceText: string, moduleType: string): Promise<CompilerOutput>
renderStart(): void
renderChunk(sourceText: string): Promise<CompilerOutput>
}
export interface CompilerOptions {
dedupeStrings?: boolean
oveo?: boolean
}