Skip to content

Move symbol instance type to es5 to follow PropertyKey#23864

Merged
weswigham merged 2 commits into
microsoft:masterfrom
weswigham:keyof-lib-target-mismatch
May 3, 2018
Merged

Move symbol instance type to es5 to follow PropertyKey#23864
weswigham merged 2 commits into
microsoft:masterfrom
weswigham:keyof-lib-target-mismatch

Conversation

@weswigham
Copy link
Copy Markdown
Member

Fixes #23778

I've moved the entire thing (rather than making an empty interface) so that PropertyKey can still be toString and valueOf'd.

Our test harness can't test the change because the error is triggered while checking the lib and we don't record lib errors. ☹️ (But I can verify it fixes the issue from manual testing)

@weswigham weswigham requested review from a user and mhegazy May 3, 2018 17:16
@weswigham weswigham merged commit 616e6e6 into microsoft:master May 3, 2018
@weswigham weswigham deleted the keyof-lib-target-mismatch branch May 3, 2018 17:50
@microsoft microsoft locked and limited conversation to collaborators Jul 31, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

keyof causes Cannot find global type 'Symbol'

2 participants