These are chat archives for DefinitelyTyped/DefinitelyTyped

6th
Mar 2017
Daniel Karp
@karptonite
Mar 06 19:38
I often run into the pattern where you might have an object that would have an interface such as: { [id: string]: Foo; }. Is there a convenient shorthand for that, or should I just make a generic interface?
(Basically a dictionary)
Daniel Karp
@karptonite
Mar 06 19:44
(I guess really almost like a map, but I want it to be a plain js object)