pixijs / pixi-react

Write PIXI apps using React declarative style
https://pixijs.io/pixi-react/
MIT License
2.33k stars 177 forks source link

ts error #317

Closed sudongyuer closed 2 years ago

sudongyuer commented 2 years ago

Description

ts error

image

Steps to reproduce

  1. npm run dev
  2. error

Additional info

inlet commented 2 years ago

Hi @sudongyuer,

I cannot reproduce the issue. Are you sure you've included the react types:

yarn add -D @types/{react,react-dom}

Could you perhaps share your tsconfig.json?