source: frontend/node_modules/harmony-reflect/index.d.ts

Last change on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 12 days ago

Fix frontend appearance

  • Property mode set to 100644
File size: 1.1 KB
Line 
1declare type PropertyKey = string | number | symbol;
2
3declare namespace Reflect {
4 function apply(target: Function, thisArgument: any, argumentsList: ArrayLike<any>): any;
5 function construct(target: Function, argumentsList: ArrayLike<any>, newTarget?: any): any;
6 function defineProperty(target: any, propertyKey: PropertyKey, attributes: PropertyDescriptor): boolean;
7 function deleteProperty(target: any, propertyKey: PropertyKey): boolean;
8 function get(target: any, propertyKey: PropertyKey, receiver?: any): any;
9 function getOwnPropertyDescriptor(target: any, propertyKey: PropertyKey): PropertyDescriptor;
10 function getPrototypeOf(target: any): any;
11 function has(target: any, propertyKey: string): boolean;
12 function has(target: any, propertyKey: symbol): boolean;
13 function isExtensible(target: any): boolean;
14 function ownKeys(target: any): Array<PropertyKey>;
15 function preventExtensions(target: any): boolean;
16 function set(target: any, propertyKey: PropertyKey, value: any, receiver?: any): boolean;
17 function setPrototypeOf(target: any, proto: any): boolean;
18}
19
20export = Reflect;
Note: See TracBrowser for help on using the repository browser.