fix:解决拖拽问题
This commit is contained in:
1 parent
ce06ad0214
commit
6367014e1f
34 files changed
+1712
-397
No files matched your search
Vendored
+42
@@ -0,0 +1,42 @@
|
||||
declare module "*.png" {
|
||||
const value: string;
|
||||
export default value;
|
||||
}
|
||||
|
||||
declare module "*.jpg" {
|
||||
const value: string;
|
||||
export default value;
|
||||
}
|
||||
|
||||
declare module "*.jpeg" {
|
||||
const value: string;
|
||||
export default value;
|
||||
}
|
||||
|
||||
declare module "*.gif" {
|
||||
const value: string;
|
||||
export default value;
|
||||
}
|
||||
|
||||
declare module "*.svg" {
|
||||
const value: string;
|
||||
export default value;
|
||||
}
|
||||
|
||||
declare module "*.webp" {
|
||||
const value: string;
|
||||
export default value;
|
||||
}
|
||||
|
||||
// Vite 类型声明
|
||||
interface ImportMeta {
|
||||
glob: (
|
||||
pattern: string,
|
||||
options?: {
|
||||
eager?: boolean;
|
||||
import?: string;
|
||||
as?: string;
|
||||
}
|
||||
) => Record<string, any>;
|
||||
url: string;
|
||||
}
|
||||
Reference in new issue
Block a user