/typescript-titanium

Ambient declarations for use titanium (appcelerator) with typescript

Typescript Titanium

This repository contains ambient declarations files of Titanium Mobile API (Appcelerator) for TypeScript.

Downloads

Creating Your Own Ambient Declaration File

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