export type IdMap = { [id: string]: T }