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

definitions file for typescript #69

Open
not-a-designer opened this issue Jun 22, 2018 · 1 comment
Open

definitions file for typescript #69

not-a-designer opened this issue Jun 22, 2018 · 1 comment

Comments

@not-a-designer
Copy link

not-a-designer commented Jun 22, 2018

I am trying to use this library in my angular/ionic project and I am running into problems importing this package. typescript wants an index.d.ts but i think even an index.js would be still be read.

is there any change that could be a possible addition to this project?

@michaelwschultz
Copy link
Contributor

@not-a-designer, was just combing through the issues here and I think I have a solution for you. You just need to add your own type description file and tell typescript where it is. This post should explain everything and it should be pretty straight forward. Hope that helps. If so, if you wouldn't mind closing this issue, that would be great.

/cc @mkozjak

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

2 participants