Closed Heilemann closed 2 years ago
Are you using @types/react v 18 perhaps?
Doesn't look like it, from my package.json: "@types/react": "^17.0.37",
Unfortunately I cannot reproduce the issue.. it's working as expected:
Closing the issue as I cannot reproduce this, please let me know if and why we should reopen this issue. Thanks!
Maybe your typescript settings are incorrect? can you check your tsconfig.json
Looks like this:
{ "compilerOptions": { "target": "es5", "lib": [ "dom", "dom.iterable", "esnext" ], "allowJs": true, "skipLibCheck": true, "esModuleInterop": true, "allowSyntheticDefaultImports": true, "strict": true, "forceConsistentCasingInFileNames": true, "noFallthroughCasesInSwitch": true, "module": "esnext", "moduleResolution": "node", "resolveJsonModule": true, "isolatedModules": true, "noEmit": true, "jsx": "react-jsx" }, "include": [ "src" ] }
Can you try a CRA?
Description
Seeing this typescript error on Stage, but it doesn't make sense to me? Pretty sure Stage is supposed to take a width. The documentation page for it says so at least.
Additional info
@inlet/react-pixi
version: 6.6.5React
version: 17.0.2ReactDOM
version: 17.0.2PIXI
version: 6.2.2