From 8dafd4189a7693a722fc52c194ba339cdbc5d7fa Mon Sep 17 00:00:00 2001 From: Benjamin Pannell Date: Mon, 1 Feb 2016 10:02:44 +0200 Subject: [PATCH] fix: Have setTransport return RavenStatic interface --- ravenjs/ravenjs.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ravenjs/ravenjs.d.ts b/ravenjs/ravenjs.d.ts index cc06a4dfc..629140d8b 100644 --- a/ravenjs/ravenjs.d.ts +++ b/ravenjs/ravenjs.d.ts @@ -159,7 +159,7 @@ interface RavenStatic { }): RavenStatic; /** Override the default HTTP data transport handler. */ - setTransport(transportFunction: (options: RavenTransportOptions) => void); + setTransport(transportFunction: (options: RavenTransportOptions) => void): RavenStatic; /** An event id is a globally unique id for the event that was just sent. This event id can be used to find the exact event from within Sentry. */ lastEventId(): string;