diff --git a/typescript/core/func/array.ts b/typescript/core/func/array.ts new file mode 100644 index 0000000000..c69fa3ccbb --- /dev/null +++ b/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; \ No newline at end of file diff --git a/typescript/index.ts b/typescript/index.ts index ec82227072..95723ce610 100644 --- a/typescript/index.ts +++ b/typescript/index.ts @@ -1,5 +1,6 @@ import { _addI18n, _i18nText } from "./core/i18n"; import { _OB } from "./core/ob"; +import { _pushArray, _pushDistinct, _pushDistinctArray} from "./core/func/array"; export declare module BI { namespace i18n { @@ -8,4 +9,8 @@ export declare module BI { } const OB: _OB; + + const pushArray: _pushArray; + const pushDistinct: _pushDistinct; + const pushDistinctArray: _pushDistinctArray; }