UNPKG

mancha

Version:

Javscript HTML rendering engine

9 lines (8 loc) 297 B
import * as ts from "typescript"; export interface TypeCheckOptions { strict: boolean; filePath?: string; propertySyntaxLevel?: "error" | "warning" | "ignore"; debug?: boolean; } export declare function typeCheck(html: string, options: TypeCheckOptions): Promise<ts.Diagnostic[]>;