Closed panmona closed 6 years ago
Nice! I don't use TypeScript myself, but don't you need to reference them from package.json somehow or is it enough that the declaration has the same name as the js file?
As far as I know there are two ways:
index.d.ts
into the root (I choose that approach here)types
declaration in the package.json
Ok, cool, will do a new release soon!
published as 0.0.9
@daniel-lundin Thanks a lot. Works perfectly 🎉 <- this is confetti 😉
I use this module in a typescript project and there weren't any typings for Typescript so I added them for others to use. @daniel-lundin