Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use typescript #14

Open
cibernox opened this issue Feb 24, 2017 · 3 comments
Open

Use typescript #14

cibernox opened this issue Feb 24, 2017 · 3 comments

Comments

@cibernox
Copy link
Owner

The more I use VSCode the more I value the little helps that the type definitions (even those defined externally like momentjs / lodash).

Although Ember's flexibility limit the effectiveness of types, this barely relies in Ember. Many of the arguments and return types (e.g NodeList) can be known in advance.

It is possible to develop addons in typescript already? Shall we?

@rwjblue
Copy link
Collaborator

rwjblue commented Feb 24, 2017

Yes, we can. Seems fine to start experimenting.

The basic tldr; is that we need to add ember-cli-typescript to the repo, and start converting.

@pixelhandler
Copy link
Collaborator

Per @robbiepitts ... FWIW, this is a good resource for TS compilation: https://github.com/glimmerjs/glimmer-build/blob/master/index.js

@pixelhandler
Copy link
Collaborator

@danielchappell let me know if you have any ideas on getting TS to work in an addon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants