Typescript Map Array From One Type To Another