You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<!-- What's some code using this that should work, but doesn't?-->
This only makes this method even stricter,
so the only effect will be to make more code fail.
lib Update Request
Configuration Check
My compilation target is
ESNext
and my lib isESNext
.The method is in the file:
lib.es2015.proxy.d.ts
[According to vscode command (Go to Definition)]
Missing / Incorrect Definition
This is about an incorrect method:
ProxyHandler.apply()
(The second argument to the Proxy constructor)
Current type definition:
Actual type definition:
Sample Code
Documentation Link
https://tc39.es/ecma262/#sec-proxy-object-internal-methods-and-internal-slots-call-thisargument-argumentslist
Step 7 specifically creates an array, which is passed as the third argument to the ProxyHandler.apply method.
Edit
This also applies to
ProxyHandler.construct
The text was updated successfully, but these errors were encountered: