type OBJItem = {
id?: string | number
label?: string
something?: string
else?: string
content? : string
testValue?: string
value?: string
values? : SomtingLabel[]
}
type SomtingLabel = { value: string; label: string }
renderItem={item => {
expectTypeOf(item).toEqualTypeOf<{ something: string; else: string }>();
return <div>{item.else}</div>;
}}