@sentry/integrations
Version:
Pluggable integrations that can be used to enhance JS SDKs
17 lines • 722 B
TypeScript
import type { Client, Integration, IntegrationClass } from '@sentry/types';
type ReportTypes = 'crash' | 'deprecation' | 'intervention';
interface ReportingObserverOptions {
types?: ReportTypes[];
}
export declare const reportingObserverIntegration: (options?: ReportingObserverOptions | undefined) => import("@sentry/types").IntegrationFnResult;
/**
* Reporting API integration - https://w3c.github.io/reporting/
* @deprecated Use `reportingObserverIntegration()` instead.
*/
export declare const ReportingObserver: IntegrationClass<Integration & {
setup: (client: Client) => void;
}> & (new (options?: {
types?: ReportTypes[];
}) => Integration);
export {};
//# sourceMappingURL=reportingobserver.d.ts.map