Updated 'Reflect.construct' to add third 'newTarget' argument.

This commit is contained in:
Daniel Rosenwasser 2015-08-19 15:53:31 -07:00
parent f36f510411
commit b27ab24343

2
src/lib/es6.d.ts vendored
View File

@ -3652,7 +3652,7 @@ declare var Proxy: ProxyConstructor;
declare module Reflect {
function apply(target: Function, thisArgument: any, argumentsList: ArrayLike<any>): any;
function construct(target: Function, 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 enumerate(target: any): IterableIterator<any>;