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

Typescript definition #373

Closed
oliverlj opened this issue Jun 18, 2020 · 10 comments
Closed

Typescript definition #373

oliverlj opened this issue Jun 18, 2020 · 10 comments

Comments

@oliverlj
Copy link

Is is possible to add typescript definition ?

@gilest
Copy link
Collaborator

gilest commented Jun 18, 2020

Of course. A PR would be most welcome.

@jelhan
Copy link
Collaborator

jelhan commented Jun 19, 2020

Even porting the addon to TypeScript would be fine for me. Any objections @gilest?

Also relevant: typed-ember/ember-cli-typescript#1158

@gilest
Copy link
Collaborator

gilest commented Jun 19, 2020

No objections here

@oliverlj
Copy link
Author

I don't know how to add definition to an ember addon.

I did a gist of my types/ember-file-upload directory : https://gist.github.com/oliverlj/fbf9ae7a30f3c221998174291a71a9d6

@jelhan
Copy link
Collaborator

jelhan commented Jun 19, 2020

To be honest I also don't have much experience with TypeScript and ember addons. But this may serve as a good starting point:

Don't know about the bandwidth of others but I won't have the time to do it in forseable future.

@chriskrycho
Copy link

I will try to write up a short guide on how to do this next week—something that I post as a comment here but also turn into a guide for this on the ember-cli-typescript docs.

@gilest
Copy link
Collaborator

gilest commented Sep 25, 2021

This would be a very helpful project if you're still interested @oliverlj

@chriskrycho
Copy link

It’ll be over a year late, but I do plan to write up that guide this coming quarter. Sorry for the delay!

@oliverlj
Copy link
Author

Hi @chriskrycho , I created PR #545 with types I used on a project but I don't know how to configure ember file upload.

@gilest
Copy link
Collaborator

gilest commented Jan 19, 2022

Added in #620

@gilest gilest closed this as completed Jan 19, 2022
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

4 participants