提交代码
This commit is contained in:
9
global.d.ts
vendored
Normal file
9
global.d.ts
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
declare global {
|
||||
interface Window {
|
||||
$svgEventCallBack: (type: string, svg_item_id: string, ...args: any[]) => void;
|
||||
$setItemAttrByID: (id: string, key: string, val: any) => Promise<unknown>;
|
||||
$getItemAttrByID: (id: string, key: string, val: any) => any;
|
||||
$previewCompareVal: (val1: any, operator: '>' | '<' | '=' | '!=', val2: any) => boolean;
|
||||
}
|
||||
}
|
||||
export {};
|
||||
Reference in New Issue
Block a user