fix: typing
This commit is contained in:
Vendored
+16
@@ -0,0 +1,16 @@
|
||||
/// <reference types="vite/client" />
|
||||
|
||||
interface WebpackContext {
|
||||
(path: string): { default?: string } | string;
|
||||
keys(): string[];
|
||||
}
|
||||
|
||||
interface ImportMeta {
|
||||
webpackContext(
|
||||
directory: string,
|
||||
options: {
|
||||
recursive?: boolean;
|
||||
regExp?: RegExp;
|
||||
}
|
||||
): WebpackContext;
|
||||
}
|
||||
Reference in New Issue
Block a user