UNPKG

vite-typescript-plugin

Version:

A Vite plugin for seamless integration between Vite and Typescript.

13 lines (12 loc) 387 B
import ts from "typescript"; import { CustomCompilerHost } from "./"; type Path = string; type Code = string; export interface EmitFileValueType { code: string; map?: string; diagnostics: readonly ts.Diagnostic[]; emitFiles: Record<Path, Code>; } export declare function emitFileCode(this: CustomCompilerHost, fileName: string): EmitFileValueType; export {};