mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 14:57:10 +00:00
Merge pull request #31166 from themindoverall/hapi/route-pre-assign-optional
[hapi] Make RouteOptionsPreObject.assign optional
This commit is contained in:
Vendored
+1
-1
@@ -1428,7 +1428,7 @@ export interface RouteOptionsPreObject {
|
||||
/**
|
||||
* key name used to assign the response of the method to in request.pre and request.preResponses.
|
||||
*/
|
||||
assign: string;
|
||||
assign?: string;
|
||||
/**
|
||||
* A failAction value which determine what to do when a pre-handler method throws an error. If assign is specified and the failAction setting is not 'error', the error will be assigned.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user