vite-typescript-plugin
Version:
A Vite plugin for seamless integration between Vite and Typescript.
4 lines (3 loc) • 329 B
TypeScript
import ts from "typescript";
import { CustomCompilerHost } from "./";
export declare function getSourceFile(this: CustomCompilerHost, fileName: string, languageVersionOrOptions: ts.ScriptTarget | ts.CreateSourceFileOptions, onError?: (message: string) => void, shouldCreateNewSourceFile?: boolean): ts.SourceFile | undefined;