I\'m trying to write a function that will return an object whose keys are going to be the same as the values of the input array:
type PathParam = \'userId\' | \'g