mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-16 15:00:26 +00:00
* Added type definitions for "ineum" ineum is the global object used by the Instana Website Monitoring API (https://docs.instana.io/products/website_monitoring/api/) to collect different kinds of information from websites/apps. * Added tests and fixed header lint issue * Fixed test file and added minimum TS version * Merged definitions with same signature, added dummy version number * Made userName and userEmail optional * Removed unnecessary type reference
34 lines
846 B
TypeScript
34 lines
846 B
TypeScript
// $ExpectType void
|
|
ineum("key", "key");
|
|
// $ExpectType void
|
|
ineum("reportingUrl", "reportingUrl");
|
|
// $ExpectType void
|
|
ineum("page", "pageName");
|
|
// $ExpectType void
|
|
ineum("user", "userId", "userName", "userEmail");
|
|
// $ExpectType void
|
|
ineum("meta", "key", "value");
|
|
// $ExpectType void
|
|
ineum("traceId", "traceId");
|
|
// $ExpectType void
|
|
ineum("ignoreUrls", [/regex/]);
|
|
// $ExpectType void
|
|
ineum("autoClearResourceTimings", true);
|
|
// $ExpectType void
|
|
ineum("reportError", "error");
|
|
// $ExpectType void
|
|
ineum("reportError", "error", {
|
|
componentStack: "stack"
|
|
});
|
|
// $ExpectType void
|
|
ineum("ignoreErrorMessages", [/regex/]);
|
|
// $ExpectType void
|
|
ineum("wrapEventHandlers", true);
|
|
// $ExpectType void
|
|
ineum("wrapTimers", true);
|
|
// $ExpectType void
|
|
ineum("whitelistedOrigins", [/regex/]);
|
|
|
|
// $ExpectType string | undefined
|
|
ineum("getPageLoadId");
|