This repository contains the type definitions for the iief
build of the spine-phaser
runtime.
Types are located in the dist/
folder. You should copy all of them to your game project.
You can generate the types following these steps:
- Clone the
spine-runtime
repo - Create a
SPINE_RUNTIMES
environment variable with thespine-runtime
full path. - Install NPM dependencies:
npm install
. - Build the types:
npm start
. - Test the types don't have compilation errors:
npm test
.