Skip to content

Add typescript types #38

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

Merged
merged 1 commit into from
Mar 30, 2021
Merged

Add typescript types #38

merged 1 commit into from
Mar 30, 2021

Conversation

kanongil
Copy link
Contributor

Closes #26.

Note that I had to add a default export to the regular code to support the import syntax. Otherwise, users would have to use the import JoiDate = require('joi/date') syntax.

@hueniverse hueniverse merged commit c0b5c65 into hapijs:master Mar 30, 2021
@hueniverse hueniverse added feature New functionality or improvement types TypeScript type definitions labels Mar 30, 2021
@hueniverse hueniverse added this to the 2.0.2 milestone Mar 30, 2021
@hueniverse hueniverse self-assigned this Mar 30, 2021
@Hajjiri
Copy link

Hajjiri commented Mar 14, 2022

Hi there, any news on when this could be released? thanks

@Marsup
Copy link
Collaborator

Marsup commented Mar 14, 2022

It already is.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New functionality or improvement types TypeScript type definitions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Typescript Support?
4 participants