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
I am trying to implement Atropos Typescript but I am experiencing issues related to types and interfaces, as quoted below:
"TS2322: Type '{ children: Element[]; className: string; activeOffset: any; shadowScale: any; onEnter: () => void; onLeave: () => void; onRotate: (x: any, y: any) => void; }' is not assignable to type 'IntrinsicAttributes & Atropos'. Property 'activeOffset' does not exist on type 'IntrinsicAttributes & Atropos'.".
I made sure the Atropos react index file is importing the atropos-react.d.ts module, it is but the issue is still present, I don't know if anyone is experiencing as a similar issue or knows a solution/workaround.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to implement Atropos Typescript but I am experiencing issues related to types and interfaces, as quoted below:
I made sure the Atropos react index file is importing the atropos-react.d.ts module, it is but the issue is still present, I don't know if anyone is experiencing as a similar issue or knows a solution/workaround.
Beta Was this translation helpful? Give feedback.
All reactions