Closed martinsik closed 7 months ago
Looks like hardcoding @types/css-font-loading-module
version helped and now it compiles with the latest TypeScript and PixiJS versions:
"@types/css-font-loading-module": "0.0.10"
Thanks for letting us know. I'm working on resolving this.
@bigtimebuddy Any update on this fix? Just ran into the same issue in a different project. Thanks
@avpeery I started on this task, but was quickly blocked by TypeScript being out of date in the project. I needed to update one of our dependencies. I'll give this another shot and will try to get it in the next 7.3.3 release.
Many thanks @bigtimebuddy for addressing and fixing it quickly!! Will it be in 7.3.3?
Current Behavior
I took the code example from the tutorial and I'm trying to compile it in TypeScript with the latest PIXI.JS and TypeScript versions. It throws errors:
https://github.com/martinsik/pixijs-7-typescript/blob/main/src/lib/index.ts
Expected Behavior
It should compile without any errors.
Steps to Reproduce
This will start concurrently a development server and TypeScript compiler in watch mode.
Environment
pixi.js
version: 7.3.2Possible Solution
No response
Additional Information
No response