Skip to content

TypeScript definitions for the game engine Defold, with hand-written additions

License

Notifications You must be signed in to change notification settings

thinknathan/ts-defold-types

 
 

Repository files navigation

Defold Types

TS-Defold Types II

CI GitHub License Chat with us!

TypeScript definitions for Defold, a high-performance cross-platform game engine.

This Fork

This fork has more detailed types than the origin repo. Hand-written patches replace many of the any keywords with specific types, sets constant values to use const, etc. See the changelog for details.

This repo can be used as a drop-in replacement of the original.

Installation

  1. Uninstall @ts-defold/types

  2. Get this package from Github

yarn add git+https://git@github.com/thinknathan/ts-defold-types.git#^1.3.0 -D
# or
npm install git+https://git@github.com/thinknathan/ts-defold-types.git#^1.3.0 --save-dev
# or
pnpm install git+https://git@github.com/thinknathan/ts-defold-types.git -D

TypeScript ❤️ Defold