Swap the type parameters of `Transform`.