Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix declaration for Array.prototype[Symbol.unscopables] #36540

Merged
merged 1 commit into from
Jan 31, 2020
Merged

Conversation

rbuckton
Copy link
Member

Fixes the incorrect definition of Array.prototype[Symbol.unscopables]

Fixes #34610

@@ -91,7 +91,7 @@ interface Array<T> {
* Returns an object whose properties have the value 'true'
* when they will be absent when used in a 'with' statement.
*/
[Symbol.unscopables](): {
[Symbol.unscopables]: {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should’ve been applied to src/lib/lib.es2015.symbol.wellknown.d.ts.


I’m fixing that in #42566.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Array.prototype[Symbol.unscopables] is not a function
4 participants