同步
This commit is contained in:
parent
69e319c91c
commit
13fd65ff50
13
package-lock.json
generated
13
package-lock.json
generated
@ -1,13 +0,0 @@
|
|||||||
{
|
|
||||||
"name": "ddmt-tool",
|
|
||||||
"version": "1.0.7",
|
|
||||||
"lockfileVersion": 3,
|
|
||||||
"requires": true,
|
|
||||||
"packages": {
|
|
||||||
"": {
|
|
||||||
"name": "ddmt-tool",
|
|
||||||
"version": "1.0.7",
|
|
||||||
"license": "MIT"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
@ -4,6 +4,7 @@
|
|||||||
"description": "A utility library that provides commonly used functions to simplify everyday development tasks. Whether it's string manipulation, array operations, or other frequent functionalities, `ddmt-tool` helps you work more efficiently.",
|
"description": "A utility library that provides commonly used functions to simplify everyday development tasks. Whether it's string manipulation, array operations, or other frequent functionalities, `ddmt-tool` helps you work more efficiently.",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
|
"types": "types/index.d.ts",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "node index.js"
|
"dev": "node index.js"
|
||||||
},
|
},
|
||||||
|
8
types/index.d.ts
vendored
Normal file
8
types/index.d.ts
vendored
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
declare module 'ddmt-tool' {
|
||||||
|
export function animateStart(event: HTMLElement, className: string, forceExecute?: boolean): void;
|
||||||
|
|
||||||
|
export function randomNum(minNum: number): number;
|
||||||
|
export function randomNum(minNum: number, maxNum: number): number;
|
||||||
|
|
||||||
|
export function nextArray(arr: any[], index: number): any[];
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user