We are using i18n and encountering some issues during TypeScript checks.
node_modules/react-arborist/src/components/list-outer-element.tsx:22:7 - error TS2322: Type 'ReactI18NextChild | Iterable<ReactI18NextChild>' is not assignable to type 'string | number | boolean | ReactElement<any, string | JSXElementConstructor<any>> | ReactFragment | ReactPortal | Record<...> | null | undefined'.
Type 'Iterable<ReactI18NextChild>' is not assignable to type 'string | number | boolean | ReactElement<any, string | JSXElementConstructor<any>> | ReactFragment | ReactPortal | Record<...> | null | undefined'.
Type 'Iterable<ReactI18NextChild>' is not assignable to type 'ReactFragment'.
Type 'ReactI18NextChild' is not assignable to type 'ReactNode'.
Type 'Record<string, unknown>' is not assignable to type 'ReactNode'.
Type 'Record<string, unknown>' is not assignable to type 'ReactPortal'.
22 {children}
~~~~~~~~~~
To resolve this error, you need to update the following file:
src/components/list-outer-element.tsx
We are using i18n and encountering some issues during TypeScript checks.
To resolve this error, you need to update the following file: src/components/list-outer-element.tsx
For those experiencing this issue, here is the file path:
Hopefully, the maintainer of this library will apply a fix soon.