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

Make isBoom type definition laxer #275

Merged
merged 1 commit into from
Nov 30, 2020
Merged

Make isBoom type definition laxer #275

merged 1 commit into from
Nov 30, 2020

Commits on Nov 30, 2020

  1. Make isBoom type definition laxer

    Especially useful in hapijs context, where request.response can be a
    Boom object. This change allows the TypeScript code to leverage isBoom()
    to check if request.response is a Boom object or not, without any noisy typecast.
    nulltoken committed Nov 30, 2020
    Configuration menu
    Copy the full SHA
    b1ea93f View commit details
    Browse the repository at this point in the history