Browse Source

Merge pull request #1225 in VISUAL/fineui from ~TELLER/fineui:master to master

* commit 'c7987ae8199c70a9307cded1eaab979b88087ce3':
  REPORT-25852 fix: 修改说明
es6
Teller 5 years ago
parent
commit
f4749b2102
  1. 4
      typescript/core/base.ts

4
typescript/core/base.ts

@ -251,9 +251,9 @@ export interface _base {
isNull: (obj: any) => obj is (undefined | null);
isEmptyArray: (arr: any[]) => boolean;
isEmptyArray: <T, U>(arr: T[] | U) => arr is T[] & {length: 0};
isNotEmptyArray: (arr: any[]) => boolean;
isNotEmptyArray: <T, U>(arr: T[] | U) => arr is [T, ...T[]];
isEmptyObject: (obj: any) => obj is object;

Loading…
Cancel
Save