minutool 1.0.7 → 1.0.8
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/dist/index.d.ts +7 -0
- package/dist/minutool.js +306 -300
- package/dist/minutool.js.map +1 -1
- package/dist/minutool.umd.cjs +4 -4
- package/dist/minutool.umd.cjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -295,6 +295,13 @@ export declare function deepClone<T>(obj: T): T;
|
|
|
295
295
|
*/
|
|
296
296
|
export declare const deleteCookie: (name: string, path?: string, domain?: string) => void;
|
|
297
297
|
|
|
298
|
+
/**
|
|
299
|
+
* 删除 Cookie 在所有路径和子域名下的所有实例
|
|
300
|
+
* @param {string} name - Cookie 名称
|
|
301
|
+
* @param {string} [domain] - Cookie 域名,默认为当前域名
|
|
302
|
+
*/
|
|
303
|
+
export declare const deleteCookieAllPaths: (name: string, domain?: string) => void;
|
|
304
|
+
|
|
298
305
|
/**
|
|
299
306
|
* 检测数值最大精度
|
|
300
307
|
* @param {...any} numbers 待检测数值
|