mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-22 16:35:14 +00:00
20 lines
1.1 KiB
TypeScript
20 lines
1.1 KiB
TypeScript
declare type PropertyKey = string | number | symbol;
|
|
|
|
declare namespace Reflect {
|
|
function apply(target: Function, thisArgument: any, argumentsList: ArrayLike<any>): any;
|
|
function construct(target: Function, argumentsList: ArrayLike<any>, newTarget?: any): any;
|
|
function defineProperty(target: any, propertyKey: PropertyKey, attributes: PropertyDescriptor): boolean;
|
|
function deleteProperty(target: any, propertyKey: PropertyKey): boolean;
|
|
function get(target: any, propertyKey: PropertyKey, receiver?: any): any;
|
|
function getOwnPropertyDescriptor(target: any, propertyKey: PropertyKey): PropertyDescriptor;
|
|
function getPrototypeOf(target: any): any;
|
|
function has(target: any, propertyKey: string): boolean;
|
|
function has(target: any, propertyKey: symbol): boolean;
|
|
function isExtensible(target: any): boolean;
|
|
function ownKeys(target: any): Array<PropertyKey>;
|
|
function preventExtensions(target: any): boolean;
|
|
function set(target: any, propertyKey: PropertyKey, value: any, receiver?: any): boolean;
|
|
function setPrototypeOf(target: any, proto: any): boolean;
|
|
}
|
|
|
|
export = Reflect; |