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
{{ message }}
Repository navigation
Value of string literal type as property name. #6080
Kagami Sascha Rosylight (@saschanaz) Thanks for the reference. So basically now we may have memberof operator return a string literal type, that's interesting. Hopefully somebody would take that PR.
Activity
saschanaz commentedon Dec 13, 2015
See also #394 (or #1295?)
vilicvane commentedon Dec 13, 2015
Kagami Sascha Rosylight (@saschanaz) Thanks for the reference. So basically now we may have
memberofoperator return a string literal type, that's interesting. Hopefully somebody would take that PR.DanielRosenwasser commentedon Dec 14, 2015
I know Wesley Wigham (@weswigham) has brought this up, though I'm not sure if there's an existing issue for it.
masaeedu commentedon Jan 26, 2016
vilic What does the snippet demonstrate?
vilicvane commentedon Jan 27, 2016
Asad Saeeduddin (@masaeedu) Hmm, I think it's about finding a common type among several properties (within the range of string literals union).
mhegazy commentedon Nov 2, 2016
This should be addressed by the new indexing support for literal types in #11929