This repository contains ambient declarations files of Titanium Mobile API (Appcelerator) for TypeScript.
To create a custom ambient declaration version of titanium API you have to
generate a JSCA
file from Titanium repository.
This can be done by docgen.py
at apidoc
folder. Then you can execute
build.ts
to get an ambient declaration file.
tsc build.ts && node build.js path-to-jsca "info-text" > path-to-d.ts