tsd-ext-type-gen
v1.1.0
Published
TypeScript definitions generator that parses script APIs from Defold extensions
Downloads
5
Readme
TS Definitions Generator for TypeScript-Defold
TypeScript definitions generator that parses script APIs from Defold extensions. Made for use with TypeScript + Defold.
This tool searches through dependencies in your Defold project file, then attempts to find script_api
files, and parse them to create TypeScript definitions.
Installation
yarn add tsd-ext-type-gen -D
# or
npm install tsd-ext-type-gen --save-dev
Usage
npx xtgen
-p
path to yourgame.project
(default./app/game.project
)-o
path to an output folder (default./@types
)
Background
Started as a fork of @thejustinwalsh's type-gen, now with significant rewrites.