Skip to content

Interface ProxyHandler (lib.es6.d.ts) incorrect #12137

@ovangle

Description

@ovangle

TypeScript Version: 2.0.7

Code
The type signature for construct currently has it's second and third parameters reversed (should be construct(target: T, argArray: any, newTarget: any)). thisArg is also incorrectly named in the signature, because argument passed to the method is the proxy, not the value of this.

It doesn't matter too much, since the arguments are both typed any, but the declaration files are useful for reference purposes, so parameter names should be correct.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugA bug in TypeScriptDomain: lib.d.tsThe issue relates to the different libraries shipped with TypeScriptHelp WantedYou can do this

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions