Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
28 lines
819 B
Plaintext
28 lines
819 B
Plaintext
import { Mechanism, WrappedFunction } from '@sentry/core';
|
|
import { GLOBAL_OBJ } from '@sentry/core';
|
|
export declare const WINDOW: typeof GLOBAL_OBJ & Window;
|
|
/**
|
|
* @hidden
|
|
*/
|
|
export declare function shouldIgnoreOnError(): boolean;
|
|
/**
|
|
* @hidden
|
|
*/
|
|
export declare function ignoreNextOnError(): void;
|
|
type WrappableFunction = Function;
|
|
export declare function wrap<T extends WrappableFunction>(fn: T, options?: {
|
|
mechanism?: Mechanism;
|
|
}): WrappedFunction<T>;
|
|
export declare function wrap<NonFunction>(fn: NonFunction, options?: {
|
|
mechanism?: Mechanism;
|
|
}): NonFunction;
|
|
/**
|
|
* Get HTTP request data from the current page.
|
|
*/
|
|
export declare function getHttpRequestData(): {
|
|
url: string;
|
|
headers: Record<string, string>;
|
|
};
|
|
export {};
|
|
//# sourceMappingURL=helpers.d.ts.map
|