Files
svgeditor2.0/global.d.ts

10 lines
377 B
TypeScript
Raw Normal View History

2025-09-25 11:34:55 +08:00
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 {};