You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I remove the "web" from the moduleSuffixes array, no TS error appears.
What did you expect to happen?
No TS error.
What happened actually?
TS error:
Type '{ children: Element[]; height: number; width: string; }' is not assignable to type 'IntrinsicAttributes & IContentLoaderProps'.
Property 'children' does not exist on type 'IntrinsicAttributes & IContentLoaderProps'.ts(2322)
Which versions of react-content-loader, and which browser are affected by this issue?
What did you do?
I have configured a new React Native Expo project from scratch. I have configured the
tsconfig.json
file with:And then added the
ContentLoader
in theApp.tsx
:If I remove the
"web"
from themoduleSuffixes
array, no TS error appears.What did you expect to happen?
No TS error.
What happened actually?
TS error:
Which versions of react-content-loader, and which browser are affected by this issue?
The text was updated successfully, but these errors were encountered: