This commit is contained in:
2024-11-15 18:19:29 +08:00
parent 45d1530f15
commit 14a24bb283
4 changed files with 26 additions and 4 deletions

6
types/index.d.ts vendored
View File

@@ -1,8 +1,12 @@
declare module 'ddmt-tool' {
// Tool/animate.js
export function animateStart(event: HTMLElement, className: string, forceExecute?: boolean): void;
export function setClassVar(varName: string, value: string): void;
export function getClassVar(varName: string): String;
// Tool/number.js
export function randomNum(minNum: number): number;
export function randomNum(minNum: number, maxNum: number): number;
export function nextArray(arr: any[], index: number): any[];
}