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
Expected behavior:
Just like I can do thingMap[Things.ONE] = 'blah' without any errors, this should not throw an error. Actual behavior:
src/test.ts(14,2): error TS7017: Element implicitly has an 'any' type because type 'ThingMap' has no index signature.
Activity
Jessidhia commentedon Jul 19, 2017
Seems related to #16687
blocka commentedon Jul 19, 2017
I encountered that too but it's not quite the same thing.
mhegazy commentedon Aug 30, 2017
Actually duplicate of #16760, and should be fixed by #18029