Is it possible to create a custom useMutation like the following with the correct typescript ? ``` export const useCustomMutation = <T extends Types>({ type }: { type: T }) => { return useMutation({ mutationFn: type === 'one' ? one : two, }); ```