Update utils.d.ts

This commit is contained in:
Harvey Zack committed 2024-06-08 13:01:09 +08:00
1 parent 73bafc988a
commit e2a40e67a0
1 file changed
+3
+3
View File
@@ -51,4 +51,7 @@ export type Utils = {
capitalize(str: string): string;
isStringOrNumber(val: any): boolean;
getIcon(key: string, html: string | HTMLElement): HTMLElement;
supportsFlex(): boolean;
setStyleText(element: HTMLElement, text: string): void;
getRect(el: HTMLElement): { top: number; left: number; width: number; height: number };
};