typescript create new object from type code example Example: typescript type object type Dictionary = { [key: string]: any }