interface Dictionary { [key: string]: T; } interface Callback { (err?: Error, res?: T): void; } type Nullable = T | null | undefined;