Fix regular expressions type

The previous type was wrong. 'RegExp' is the correct type.
This commit is contained in:
Simon
2016-06-21 09:41:34 +01:00
committed by GitHub
parent 9ff405abf0
commit 408c075ad5
+2 -2
View File
@@ -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;