cloneElement and I try to set a new className I get the following error message: Argument of type '{ className: string; }' is not assignable to parameter of type 'Partial<unknown> & Attributes'child.props.className because it gets inferred an any type for child even though I check with isValidElement just few lines above.