From c4ba3f9e652899edcbfd201e9f9f923cf8f5af73 Mon Sep 17 00:00:00 2001 From: Pablo Ois Lagarde Date: Tue, 11 Jul 2017 14:34:53 -0300 Subject: [PATCH] [raven] Add missing requestHandler --- types/raven/index.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/types/raven/index.d.ts b/types/raven/index.d.ts index a312c2b452..6453d824a1 100644 --- a/types/raven/index.d.ts +++ b/types/raven/index.d.ts @@ -18,6 +18,7 @@ export function captureException(e: Error, cb?: CaptureCallback): Client; export function captureException(e: Error, options?: CaptureOptions, cb?: CaptureCallback): Client; export function mergeContext(ctx: any): Client; export function getContext(): any; +export function requestHandler(): (req: IncomingMessage, res: ServerResponse, next: () => void) => void; export function errorHandler(): (e: Error, req: IncomingMessage, res: ServerResponse, next: () => void) => void; export function context(ctx: any, func: () => void, onErr?: () => void): Client; export function context(func: () => void, onErr?: () => void): Client;