mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-03 22:37:03 +00:00
RequestExtPointFunction should inherit from Lifecycle.Method
This commit is contained in:
+3
-3
@@ -1,4 +1,4 @@
|
||||
import {Server, Request, ResponseToolkit} from "hapi";
|
||||
import {Server, Lifecycle} from "hapi";
|
||||
|
||||
/**
|
||||
* The extension point event name. The available extension points include the request extension points as well as the following server extension points:
|
||||
@@ -76,8 +76,8 @@ export interface ServerExtPointFunction {
|
||||
(server: Server): void;
|
||||
}
|
||||
|
||||
export interface RequestExtPointFunction {
|
||||
(request: Request, h: ResponseToolkit): void;
|
||||
export interface RequestExtPointFunction extends Lifecycle.Method {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user