• Runtimes
  • Missing type definitions (.d.ts) files for iief build

Hi

I can't find the type definitions for the iief build of the spine-phaser runtime. The .d.ts files I see there are only about ES modules.

I opened an issue about this topic: EsotericSoftware/spine-runtimes2336

Thanks

Related Discussions
...

Well.. in the meantime, I built the def types myself. I don't find a way of doing this with esbuild, so I did my own script for generating them. The main goal is getting the spine-phaser types but I hope it also works for spine-core and spine-webgl. The *.d.ts files are in the dist/ folder.

https://github.com/PhaserEditor2D/spine-phaser-iief-types/