Initial commit

This commit is contained in:
jiapengyu
2026-07-27 13:37:48 +08:00
commit ecba71e2a5
39123 changed files with 5989154 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
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