@promster/express 9.0.0 → 9.0.1
Sign up to get free protection for your applications and to get access to all the features.
@@ -15,7 +15,7 @@ declare const extractPath: (req: Request) => string;
|
|
15
15
|
declare const getRequestRecorder: () => TRequestRecorder;
|
16
16
|
declare const signalIsUp: () => void;
|
17
17
|
declare const signalIsNotUp: () => void;
|
18
|
-
type TSkipFunction = <TRequest
|
18
|
+
type TSkipFunction = <TRequest = Request, TResponse = Response>(_req: TRequest, _res: TResponse, _labels: TLabelValues) => boolean;
|
19
19
|
export type TPromsterOptions = TOptionalPromsterOptions & {
|
20
20
|
skip?: TSkipFunction;
|
21
21
|
};
|