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 RegExp to the supported types for Extension.type #2477

Merged
merged 1 commit into from
Oct 24, 2020

Conversation

mxstbr
Copy link
Contributor

@mxstbr mxstbr commented Oct 2, 2020

In 03adf22, support for RegExps passed to Extension.type were introduced (e.g. type: /^s/). However, the types were missing that change.

In 03adf22, support for RegExps passed to Extension.type were introduced (e.g. `type: /^s/`). However, the types were missing that change.
@hueniverse hueniverse merged commit c1577b2 into hapijs:master Oct 24, 2020
@hueniverse hueniverse self-assigned this Oct 24, 2020
@hueniverse hueniverse added bug Bug or defect types TypeScript type definitions labels Oct 24, 2020
@hueniverse hueniverse added this to the 17.2.2 milestone Oct 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bug or defect types TypeScript type definitions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants