ms-types 0.3.24 → 0.3.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
package/types/utils.d.ts
CHANGED
|
@@ -19,6 +19,13 @@ declare namespace utils {
|
|
|
19
19
|
* utils.random(1, 10)
|
|
20
20
|
*/
|
|
21
21
|
function random(min: number, max: number): number;
|
|
22
|
+
/**
|
|
23
|
+
* 生成随机UUID
|
|
24
|
+
* @returns 随机UUID字符串
|
|
25
|
+
* @example
|
|
26
|
+
* utils.randomUUID()
|
|
27
|
+
*/
|
|
28
|
+
function randomUUID(): string;
|
|
22
29
|
/**
|
|
23
30
|
* 将应用置入前台
|
|
24
31
|
* @example
|