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;