From 9ff405abf07600a5b542f89867eb96381d4b6dfb Mon Sep 17 00:00:00 2001 From: Simon Date: Tue, 21 Jun 2016 09:36:00 +0100 Subject: [PATCH] Change raygun options parameter types `excludedHostnames` and `excludedUserAgents` is an array of strings or regular expressions. --- 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 c5647f804a..88fd063ea1 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 | string[]; - excludedUserAgents?: boolean | string[]; + excludedHostnames?: (string|Regex)[]; + excludedUserAgents?: (string|Regex)[]; wrapAsynchronousCallbacks?: boolean; debugMode?: boolean; ignore3rdPartyErrors?: boolean;