From f3548e422a4c874a791dc32a5a55722ca41cfc2a Mon Sep 17 00:00:00 2001 From: xuliangzhan Date: Sun, 4 Aug 2024 19:27:13 +0800 Subject: [PATCH] releases 3.5.29 --- func/chunk.d.ts | 2 +- func/searchTree.d.ts | 2 +- package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/func/chunk.d.ts b/func/chunk.d.ts index fbb5cb1..20d0ba9 100644 --- a/func/chunk.d.ts +++ b/func/chunk.d.ts @@ -3,7 +3,7 @@ * @param array 数组 * @param size 每组大小 */ -export declare function chunk(array: T[], size: number): T[][]; +export declare function chunk(array: T[] | undefined, size: number): T[][]; declare module './ctor' { interface XEUtilsMethods { diff --git a/func/searchTree.d.ts b/func/searchTree.d.ts index 27d91ed..1ea772a 100644 --- a/func/searchTree.d.ts +++ b/func/searchTree.d.ts @@ -1,5 +1,5 @@ - export interface SearchTreeOptions { + isEvery?: boolean children?: string; mapChildren?: string; original?: boolean; diff --git a/package.json b/package.json index f1416ef..b309dc4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "xe-utils", - "version": "3.5.27", + "version": "3.5.29", "description": "JavaScript 函数库、工具类", "main": "index.js", "unpkg": "dist/xe-utils.umd.min.js",