@ -4,7 +4,7 @@ export type _pushDistinct = (sArray: any[], obj: any) => void;
export type _pushDistinctArray = (sArray: any[], array: any[]) => void;
declare type _array = {
type _array = {
pushArray: _pushArray;
pushDistinct: _pushDistinct;
pushDistinctArray: _pushDistinctArray;
@ -28,7 +28,7 @@ export type _beforeFunc = (sFunc: Function, func: Function) => Function;
*/
export type _afterFunc = (sFunc: Function, func: Function) => Function;
declare type _function = {
type _function = {
createDistinctName: _createDistinctName;
getSearchResult: _getSearchResult;
beforeFunc: _beforeFunc;
@ -31,7 +31,7 @@ export type _mul = (num: number, arg: number) => number;
export type _div = (num: number, arg: number) => number;
declare type _number = {
type _number = {
add: _add;
sub: _sub;
mul: _mul;
@ -54,8 +54,7 @@ export type _perfectStart = (str: string, start: string) => string;
* @return {Number[]} 子字符串在父字符串中出现的所有位置组成的数组
export type _allIndexOf = (str: string, sub: string) => number[];
declare type _string = {
type _string = {
startWith: _startWith;
endWith: _endWith;
getQuery: _getQuery;