Ember Typings Generator
For use with typed-ember.
LICENSE
MIT
Usage
ember-typings-generator INPUT [OUTPUT=index.d.ts]
Contributing
# Fork this repo
npm install
# Update the ember repo
npm run update [-- --branch=TAG]
# Build index.d.ts
npm build
# Run tests against built file
npm test
To Do
- Properly handle prototype extensions
- Define types of arrays where possible
- Make Ember.Handlebars accessible
- Class constructors?
- See if we can further improve methods with multiple signatures
- Better handling of undeclared constants
- Consider pre-processing the docs.json so we can move hacks out of main generator code
- Basic generation tests