utils/node_modules/vue-tsc/out/index.d.ts
2024-02-07 01:33:07 -05:00

17 lines
628 B
TypeScript

import type * as ts from 'typescript/lib/tsserverlibrary';
import * as vue from '@vue/language-core';
export type Hook = (program: _Program) => void;
export type _Program = ts.Program & {
__vue: ProgramContext;
};
interface ProgramContext {
projectVersion: number;
options: ts.CreateProgramOptions;
languageHost: vue.TypeScriptLanguageHost;
vueCompilerOptions: Partial<vue.VueCompilerOptions>;
langaugeContext: vue.LanguageContext;
languageService: ts.LanguageService;
}
export declare function createProgram(options: ts.CreateProgramOptions): _Program;
export {};
//# sourceMappingURL=index.d.ts.map