hyperspace-desktop-client-w.../src/interfaces/utils.tsx

9 lines
154 B
TypeScript
Raw Normal View History

2020-02-07 18:45:25 +01:00
/**
* A Generic dictionary with the value of a specific type.
*
* Keys _must_ be strings.
*/
2020-02-07 18:44:01 +01:00
export interface Dictionary<T> {
[Key: string]: T;
}