Closed nulltoken closed 3 years ago
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.
@cjihrig, @devinivy, @nargonath, @lloydbenson, @nlf, @geek :wave: kind bump?
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.