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 typing #50

Merged
merged 2 commits into from
Mar 13, 2020
Merged

Conversation

micmro
Copy link

@micmro micmro commented Apr 3, 2017

Thanks for writing this useful validators.

To make them even more useful when working with TypeScript or VS Code it would be great to additionally have type completion.
I have added a Type Definition file to get autocompletion and TypeChecks (and some Tests for it). It would be great if you could release them with the npm package.

screen shot 2017-04-03 at 10 43 18 pm

Michael Mrowetz added 2 commits April 3, 2017 18:30
@micmro
Copy link
Author

micmro commented Apr 12, 2017

Hi @HurricaneJames, do you have any concerns or feedback with this?

Copy link

@hamishhossack hamishhossack left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me 👍 Let's go.

Copy link

@technicallyfeasible technicallyfeasible left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't see anything wrong with this, should be merged.

@steveccable
Copy link

Any updates on this? Trying to use TypeScript with this project myself, and while I could just do the same as this PR does in a local file, I'd rather see it just be there in the main one.

Just realized this project actually looks pretty dead - last update was years ago. :(

@HurricaneJames HurricaneJames merged commit 3cfb010 into HurricaneJames:master Mar 13, 2020
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.

5 participants