数通智联化工云平台
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
628 B

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