1 | export declare const EMPTY_ARRAY: ReadonlyArray<any>;
|
2 | export declare const EMPTY_OBJECT: {};
|
3 | export declare type IDisposer = () => void;
|
4 | export declare function fail(message?: string): never;
|
5 | export declare function identity<T>(_: T): T;
|
6 | export declare function nothing(): null;
|
7 | export declare function noop(): void;
|
8 | export declare function isArray(val: any): boolean;
|
9 | export declare function asArray<T>(val: undefined | null | T | T[]): T[];
|
10 | export declare function extend<A, B>(a: A, b: B): A & B;
|
11 | export declare function extend<A, B, C>(a: A, b: B, c: C): A & B & C;
|
12 | export declare function extend<A, B, C, D>(a: A, b: B, c: C, d: D): A & B & C & D;
|
13 | export declare function extend(a: any, ...b: any[]): any;
|
14 | export declare function extendKeepGetter<A, B>(a: A, b: B): A & B;
|
15 | export declare function extendKeepGetter<A, B, C>(a: A, b: B, c: C): A & B & C;
|
16 | export declare function extendKeepGetter<A, B, C, D>(a: A, b: B, c: C, d: D): A & B & C & D;
|
17 | export declare function extendKeepGetter(a: any, ...b: any[]): any;
|
18 | export declare function isPlainObject(value: any): boolean;
|
19 | export declare function isMutable(value: any): boolean;
|
20 | export declare function isPrimitive(value: any): boolean;
|
21 | export declare function freeze<T>(value: T): T;
|
22 | export declare function deepFreeze<T>(value: T): T;
|
23 | export declare function isSerializable(value: any): boolean;
|
24 | export declare function addHiddenFinalProp(object: any, propName: string, value: any): void;
|
25 | export declare function addHiddenWritableProp(object: any, propName: string, value: any): void;
|
26 | export declare function addReadOnlyProp(object: any, propName: string, value: any): void;
|
27 | export declare function remove<T>(collection: T[], item: T): void;
|
28 | export declare function registerEventHandler(handlers: Function[], handler: Function): IDisposer;
|
29 | export declare function hasOwnProperty(object: Object, propName: string): any;
|
30 | export declare function argsToArray(args: IArguments): any[];
|