From 408c075ad5d3fb8b4d0d85adfbd0d120c54cd4c1 Mon Sep 17 00:00:00 2001 From: Simon Date: Tue, 21 Jun 2016 09:41:34 +0100 Subject: [PATCH] Fix regular expressions type The previous type was wrong. 'RegExp' is the correct type. --- 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 88fd063ea1..974a37f2be 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?: (string|Regex)[]; - excludedUserAgents?: (string|Regex)[]; + excludedHostnames?: (string|RegExp)[]; + excludedUserAgents?: (string|RegExp)[]; wrapAsynchronousCallbacks?: boolean; debugMode?: boolean; ignore3rdPartyErrors?: boolean;