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
AnimatedSprite's constructor options are defined as Texture[] | FrameObject[], and the parent types constructor options do not appear to be being picked up by the current method of extracting props from constructor options.
A constructor override for AnimatedSprite including the props may be the best solution.
Bumping the min version in the deps, and adding AnimatedSpriteOptions to constructor overrides is the move.
LMK when you want to version bump, and I'll make the PR for the AnimatedSprite ConstructorOptions.
Typescript only allowing you to extract the ConstructorParameters of the last constructor defined is less than ideal.
Current Behavior
When using
<animatedSprite animationSpeed={1}>
, Typescript reports thatanimationSpeed
doesn't exist.Expected Behavior
animationSpeed
is supported on<animatedSprite>
.Steps to Reproduce
<animatedSprite>
in an app with Typescript and@pixi/react
animationSpeed
to the componentEnvironment
@pixi/react
version: 8.0.0-beta.14pixi.js
version: 8.2.6Possible Solution
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: