videoshow icon indicating copy to clipboard operation
videoshow copied to clipboard

definitions file for typescript

Open not-a-designer opened this issue 6 years ago • 1 comments

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?

not-a-designer avatar Jun 22 '18 22:06 not-a-designer

@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

michaelwschultz avatar Oct 16 '20 18:10 michaelwschultz