Change raygun options parameter types

`excludedHostnames` and `excludedUserAgents` is an array of strings or regular expressions.
This commit is contained in:
Simon
2016-06-21 09:36:00 +01:00
committed by GitHub
parent 65436e469f
commit 9ff405abf0

View File

@@ -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;