We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
type Guid = string; var foo: { [deviceId: Guid]: DateTime } = {};
Generates the error:
An index signature parameter type must be 'string' or 'number'.
It would be nice to be able to type indexes using string-aliases.