Titanium TypeScript definition