2026-03-13 15:36:35 +08:00
|
|
|
/// <reference types="vite/client" />
|
|
|
|
|
|
|
|
|
|
interface WebpackContext {
|
|
|
|
|
(path: string): { default?: string } | string;
|
|
|
|
|
keys(): string[];
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
interface ImportMeta {
|
|
|
|
|
webpackContext(
|
|
|
|
|
directory: string,
|
|
|
|
|
options: {
|
|
|
|
|
recursive?: boolean;
|
|
|
|
|
regExp?: RegExp;
|
2026-06-30 18:54:34 +08:00
|
|
|
},
|
2026-03-13 15:36:35 +08:00
|
|
|
): WebpackContext;
|
|
|
|
|
}
|
2026-06-30 18:54:34 +08:00
|
|
|
|
|
|
|
|
declare module "*.md" {
|
|
|
|
|
const content: string;
|
|
|
|
|
export default content;
|
|
|
|
|
}
|