-
Notifications
You must be signed in to change notification settings - Fork 25
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 typings #13
Comments
Hi @dsebastien! Thanks for reaching out. I'm familiar with Typescript at a high level however I haven't worked with it before. I'm happy to look into this. Can you provide a link to a doc for what you're looking for? |
Hello, Great news! Alternatively, you can write the typings and send a PR to the DefinitelyTyped repo on github: https://github.com/DefinitelyTyped/DefinitelyTyped. Here's an example of what it could look like: https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/angular-file-saver/index.d.ts Thus a namespace definition, in which you'd declare the exported functions:
Or something like that.. ;-) Note that the best (but not easiest) option is to convert the project to TypeScript, given how small it is. HTH! |
Important to check how this package is done, if you have access to Quill, it's possible that you don't need this package. slab/quill#1551 |
Hello,
Thanks for the project!
Could the npm package include TypeScript typings for the public API? This would benefit TypeScript users
The text was updated successfully, but these errors were encountered: