@pawover/kit 0.0.0-beta.13 → 0.0.0-beta.14

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 CHANGED
@@ -7,7 +7,8 @@ import { BigNumber, MathExpression, MathJsInstance, Matrix } from "mathjs";
7
7
  * @param candidate 待构造项
8
8
  * @param checkEmpty 是否检查 `undefined` 和 `null`
9
9
  */
10
- declare function arrayCast<T>(candidate: T | T[], checkEmpty?: boolean): T[];
10
+ declare function arrayCast<T>(candidate: T | T[] | null | undefined, checkEmpty?: true): NonNullable<T>[];
11
+ declare function arrayCast<T>(candidate: T | T[] | null | undefined, checkEmpty?: false): T[];
11
12
  //#endregion
12
13
  //#region src/utils/array/arrayCompete.d.ts
13
14
  /**