Browse Source

feat: KERNEL-798 core/func/array

es6
alan 5 years ago
parent
commit
633edbb1b6
  1. 5
      typescript/core/func/array.ts
  2. 5
      typescript/index.ts

5
typescript/core/func/array.ts

@ -0,0 +1,5 @@
export declare type _pushArray = (sArray: any[], array: any[]) => void;
export declare type _pushDistinct = (sArray: any[], obj: any) => void;
export declare type _pushDistinctArray = (sArray: any[], array: any[]) => void;

5
typescript/index.ts

@ -1,5 +1,6 @@
import { _addI18n, _i18nText } from "./core/i18n"; import { _addI18n, _i18nText } from "./core/i18n";
import { _OB } from "./core/ob"; import { _OB } from "./core/ob";
import { _pushArray, _pushDistinct, _pushDistinctArray} from "./core/func/array";
export declare module BI { export declare module BI {
namespace i18n { namespace i18n {
@ -8,4 +9,8 @@ export declare module BI {
} }
const OB: _OB; const OB: _OB;
const pushArray: _pushArray;
const pushDistinct: _pushDistinct;
const pushDistinctArray: _pushDistinctArray;
} }

Loading…
Cancel
Save