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 type declarations #36

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

netsgnut
Copy link

Thank you for the library! We are using it to generate a random name for user-generated lists for a client project.

We are using TypeScript in our project. Since this library does not come with type declarations, we are using a local declaration file for the library. However, since it may be useful for other TypeScript users, we decide to make a PR :)

To the library users, the typings would be automatically recognized without additional work when they use TypeScript. What it takes is a .d.ts file, and a declaration in the package.json.

Please let me know if that is a good idea for you. Thanks!

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

Successfully merging this pull request may close these issues.

1 participant