Skip to content

Add RegExp to the supported types for Extension.type#2477

Merged
hueniverse merged 1 commit intohapijs:masterfrom
mxstbr:patch-1
Oct 24, 2020
Merged

Add RegExp to the supported types for Extension.type#2477
hueniverse merged 1 commit intohapijs:masterfrom
mxstbr:patch-1

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