Files
2026-09-21 15:32:12 +08:00

25 lines
679 B
TypeScript

/// <reference types="vitepress/client" />
/** 构建期由 vue-docgen-api 解析生成的组件 API 数据。 */
declare module "virtual:timi-api" {
import type { ComponentApiMap } from "../api-types";
const apiMap: ComponentApiMap;
export default apiMap;
}
/** 构建期由 TypeScript AST 解析生成的工具模块数据。 */
declare module "virtual:timi-utils" {
import type { UtilApiMap } from "../utils-types";
const utilsMap: UtilApiMap;
export default utilsMap;
}
declare module "*.vue" {
import type { DefineComponent } from "vue";
const component: DefineComponent<Record<string, unknown>, Record<string, unknown>, unknown>;
export default component;
}