Open Carter-Sondrol opened 1 year ago
It seems the typescript defninitions for @pixi/react Graphics doesn't correctly contain the geometry property
The geometry property (and any others that might be missing) should be valid on the JSX component
Typescript flags as
Property 'geometry' does not exist on type 'IntrinsicAttributes & Partial<Omit<Graphics, P | ReadonlyKeys<Graphics> | "draw"> & WithPointLike<P>> & { ...; } & InteractionEvents & { ...; }'.
@pixi/react
pixi.js
React
ReactDOM
I believe the type definitions just need to be updated
No response
Same for SimpleRope and SimpleMesh. No points argument. And also not accepting textureScale besides typization (points atleast works with ts-nocheck)
Current Behavior
It seems the typescript defninitions for @pixi/react Graphics doesn't correctly contain the geometry property
Expected Behavior
The geometry property (and any others that might be missing) should be valid on the JSX component
Steps to Reproduce
Typescript flags as
Property 'geometry' does not exist on type 'IntrinsicAttributes & Partial<Omit<Graphics, P | ReadonlyKeys<Graphics> | "draw"> & WithPointLike<P>> & { ...; } & InteractionEvents & { ...; }'.
Environment
@pixi/react
version: e.g. 7.0.0pixi.js
version: e.g. 7.1.0React
version: e.g. 18.0.0ReactDOM
version: e.g. 18.0.0Possible Solution
I believe the type definitions just need to be updated
Additional Information
No response