Skip to content

Commit

Permalink
Fix typing of oldProps in applyProps (#473)
Browse files Browse the repository at this point in the history
Co-authored-by: Zyie <[email protected]>
  • Loading branch information
zOadT and Zyie authored Mar 20, 2024
1 parent 2665a32 commit e8cb30c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ declare namespace _ReactPixi
*/
applyProps?(
instance: PixiInstance,
oldProps: Readonly<P>,
oldProps: Readonly<P | object>,
newProps: Readonly<P>
): void;

Expand Down

0 comments on commit e8cb30c

Please sign in to comment.