Introduction
An object in
JavaScript can be accessed with a string to
hold a reference to any other JavaScript object.
Syntax
Declaring an index signature
Interfaces
As soon as you have a string index signature, all explicit members must
also conform to that index signature. A few
Interface examples:
String literals
String Literals can also be
used in the declaration:
Generics
Generics can also be used: