UNPKG

@stencil/core

Version:

A Compiler for Web Components and Progressive Web Apps

6 lines (5 loc) 346 B
import * as d from '../declarations'; import ts from 'typescript'; export declare function transpile(input: string, opts?: ts.CompilerOptions, sourceFilePath?: string): d.TranspileResults; export declare function getCompilerOptions(rootDir: string): ts.CompilerOptions; export declare function formatDiagnostic(diagnostic: d.Diagnostic): string;