I am working with an example where I have two generic arguments to a type in typescript, but I would like the second generic type to take the first generic type. Something a