Typescript Create Object Based On Interface Meaning