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;