From 65436e469fb5b7823b30ec630256714eb7041cc2 Mon Sep 17 00:00:00 2001 From: Simon Date: Mon, 20 Jun 2016 12:12:43 +0100 Subject: [PATCH] IRaygunOptions parameter type change By looking at the https://github.com/MindscapeHQ/raygun4js/blob/c7d8880045214ab6d403d5cc613c207f696a3cdd/src/raygun.js#L507-529 it looks like the `excludedHostnames` and `excludedUserAgents` can be an array of strings as well. --- raygun4js/raygun4js.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/raygun4js/raygun4js.d.ts b/raygun4js/raygun4js.d.ts index c1a294bb31..c5647f804a 100644 --- a/raygun4js/raygun4js.d.ts +++ b/raygun4js/raygun4js.d.ts @@ -62,8 +62,8 @@ declare namespace raygun { ignoreAjaxAbort?: boolean; ignoreAjaxError?: boolean; disableAnonymousUserTracking?: boolean; - excludedHostnames?: boolean; - excludedUserAgents?: boolean; + excludedHostnames?: boolean | string[]; + excludedUserAgents?: boolean | string[]; wrapAsynchronousCallbacks?: boolean; debugMode?: boolean; ignore3rdPartyErrors?: boolean;