Improve TypeScript support
rxkevin opened this issue ยท 9 comments
Hi @rxkevin, I have updated the version to 4.6.0, not sure if it works, can you check it out?
First of all, forgot to mention, good work on this package!
One step closer, types are now included in the package, however, index.d.ts
must be in the root of your package, where now it is in the root/lib
directory. As mentioned, you will probably need to modify your build script, or set "declarationDir": "./"
in tsconfig.
Is it possible that you can create a PR for this?
I'm short on time but I will try to make it this week hopefully.
Does v4.6.2 meet the expectation?
It does! We can close this issue now.
@all-contributors please add @RokasAniss for code
@edwardfhsiao
I've put up a pull request to add @RokasAniss! ๐