-
Notifications
You must be signed in to change notification settings - Fork 12.4k
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
Type indexing with string literals starting with __ does not work #14268
Comments
I did find an older similar issue: #8614 Lo and behold: type B = Foo["___typename"] // three underscores, ok |
This should be fixed by #16915 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
TypeScript Version: 2.3.0-dev.20170223
Code
It's very likely that this is already reported, but I couldn't find it after a quick search through the issues.
Expected behavior:
Type
B
should bestring
.Actual behavior:
Error is thrown.
The text was updated successfully, but these errors were encountered: