typescript how to set a type to dyanimic allocated object code example Example: ts create nex field var obj:any = {} obj.prop = 5;