vue-component-meta 1.8.21 → 1.9.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/out/base.d.ts ADDED
@@ -0,0 +1,34 @@
1
+ import * as vue from '@vue/language-core';
2
+ import type * as ts from 'typescript/lib/tsserverlibrary';
3
+ import type { MetaCheckerOptions, ComponentMeta } from './types';
4
+ export * from './types';
5
+ export declare function createCheckerByJsonBase(ts: typeof import('typescript/lib/tsserverlibrary'), rootPath: string, json: any, checkerOptions?: MetaCheckerOptions): {
6
+ updateFile(fileName: string, text: string): void;
7
+ deleteFile(fileName: string): void;
8
+ reload(): void;
9
+ clearCache(): void;
10
+ getExportNames: (componentPath: string) => string[];
11
+ getComponentMeta: (componentPath: string, exportName?: string) => ComponentMeta;
12
+ __internal__: {
13
+ tsLs: ts.LanguageService;
14
+ };
15
+ };
16
+ export declare function createCheckerBase(ts: typeof import('typescript/lib/tsserverlibrary'), tsconfig: string, checkerOptions?: MetaCheckerOptions): {
17
+ updateFile(fileName: string, text: string): void;
18
+ deleteFile(fileName: string): void;
19
+ reload(): void;
20
+ clearCache(): void;
21
+ getExportNames: (componentPath: string) => string[];
22
+ getComponentMeta: (componentPath: string, exportName?: string) => ComponentMeta;
23
+ __internal__: {
24
+ tsLs: ts.LanguageService;
25
+ };
26
+ };
27
+ export declare function baseCreate(ts: typeof import('typescript/lib/tsserverlibrary'), _host: vue.TypeScriptLanguageHost, vueCompilerOptions: vue.VueCompilerOptions, checkerOptions: MetaCheckerOptions, globalComponentName: string): {
28
+ getExportNames: (componentPath: string) => string[];
29
+ getComponentMeta: (componentPath: string, exportName?: string) => ComponentMeta;
30
+ __internal__: {
31
+ tsLs: ts.LanguageService;
32
+ };
33
+ };
34
+ //# sourceMappingURL=base.d.ts.map