ethers.js/utils/properties.d.ts

11 lines
592 B
TypeScript
Raw Permalink Normal View History

export declare function defineReadOnly(object: any, name: string, value: any): void;
2018-07-25 21:20:21 -04:00
export declare function setType(object: any, type: string): void;
export declare function isType(object: any, type: string): boolean;
export declare function resolveProperties(object: any): Promise<any>;
2018-10-14 19:05:38 -04:00
export declare function checkProperties(object: any, properties: {
[name: string]: boolean;
}): void;
export declare function shallowCopy(object: any): any;
2018-08-21 13:13:52 +02:00
export declare function deepCopy(object: any, frozen?: boolean): any;
export declare function inheritable(parent: any): (child: any) => void;