Skip to content

Conversation

@Andarist
Copy link
Contributor

fixes #61214

f[Symbol.iterator] = function() {}
>f[Symbol.iterator] = function() {} : () => void
> : ^^^^^^^^^^
>f[Symbol.iterator] : any
Copy link
Contributor Author

Choose a reason for hiding this comment

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

the issue was already included in the existing test suite - but it wasn't overly apparent because this test was not using strict mode so the implicit any was not reported separately

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

Labels

None yet

Projects

Status: Not started

Development

Successfully merging this pull request may close these issues.

Support type inference for Symbol keys on function

1 participant