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

Add typescript declaration for index.js #442

Open
JohnnyStreet opened this issue Jul 28, 2023 · 0 comments
Open

Add typescript declaration for index.js #442

JohnnyStreet opened this issue Jul 28, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@JohnnyStreet
Copy link

Is your feature request related to a problem? Please describe.
I have to build a typescript declaration file and include that in my routine every time I use the library (slightly annoying).

Describe the solution you'd like
Add a typescript declaration to the package by doing the following:
npx tsc --declaration --emitDeclarationOnly --allowJs .\index.js

Describe alternatives you've considered
I can do this myself each time but it's nice to see it included so a simple npm install gets people where they need to be.

@JohnnyStreet JohnnyStreet added the enhancement New feature or request label Jul 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant