-
-
Notifications
You must be signed in to change notification settings - Fork 657
Closed
Description
Define
interface Dictionary<T> {
[key: string]: T;
}Usage
let v1: Dictionary<number>;
let v2: Dictionary<string>;
let v3: Dictionary<any>;This is a very common and useful definition, also mentioned in the official documentation.
chiawendt, kainiedziela, fabiospampinato, nmccready, puranjayjain and 2 moreMiroslavPetrik, NotWoods, Schniz and yujunjung
Metadata
Metadata
Assignees
Labels
No labels