ng2-smart-table
Version:
Angular Smart Table
19 lines (18 loc) • 668 B
TypeScript
/**
* Extending object that entered in first argument.
*
* Returns extended object or false if have no target object or incorrect type.
*
* If you wish to clone source object (without modify it), just use empty new
* object as first argument, like this:
* deepExtend({}, yourObj_1, [yourObj_N]);
*/
export declare const deepExtend: (...objects: Array<any>) => any;
export declare class Deferred {
promise: Promise<any>;
resolve: any;
reject: any;
constructor();
}
export declare function getDeepFromObject(object: {}, name: string, defaultValue?: any): any;
export declare function getPageForRowIndex(index: number, perPage: number): number;