From 7b3a099bf67018e27e896cabd573cf086769b325 Mon Sep 17 00:00:00 2001 From: Taylor Lodge Date: Thu, 1 Nov 2018 09:07:04 +1300 Subject: [PATCH] Fix issue with linting --- types/raygun/index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/types/raygun/index.d.ts b/types/raygun/index.d.ts index 4be58a2b76..9c4babede5 100644 --- a/types/raygun/index.d.ts +++ b/types/raygun/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/MindscapeHQ/raygun4node // Definitions by: Taylor Lodge // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.4 declare namespace raygun { interface KeyValueObject { @@ -108,7 +108,7 @@ declare namespace raygun { groupingKey(groupingKey: string): Client; offline(): Client; online(): Client; - send(exception: Error | string, customData?: KeyValueObject, offlineStorageCallback?: (error?: Error) => void, request?: RaygunRequest, tags?: ReadonlyArray): RaygunPayload; + send(exception: Error | string | object, customData?: KeyValueObject, offlineStorageCallback?: (error?: Error) => void, request?: RaygunRequest, tags?: ReadonlyArray): RaygunPayload; expressHandler(error: Error, request: RaygunRequest, res: any, next: any): void; } }