@jswork/next
Version:
A javascript OOP toolkit for mobile & modern web.
32 lines (27 loc) • 629 B
TypeScript
declare namespace Nx {
type BREAKER = object;
type IteratorReturnValue = Nx.BREAKER | undefined | void;
type OverloadResult = {
add(options: OverloadOptions): any;
};
type OverloadOptions = {
args: any[] | number;
fn: Function;
};
type ArrayIterator = (
value: any,
index: number,
target: any
) => IteratorReturnValue;
type ObjectIterator = (
key: string,
value: any,
target: any
) => IteratorReturnValue;
type MapIterator = (
indexKey: string | number,
value: any,
target: any
) => any;
type DefinedMemember = 'Method' | 'Property' | 'BombMethod';
}