declare type Dictionary = { [idx: string]: T; };