@sentry/browser
Version:
Official Sentry SDK for browsers
8 lines • 397 B
TypeScript
import type { Transport } from '@sentry/core';
import type { WINDOW } from '../helpers';
import type { BrowserTransportOptions } from './types';
/**
* Creates a Transport that uses the Fetch API to send events to Sentry.
*/
export declare function makeFetchTransport(options: BrowserTransportOptions, nativeFetch?: typeof WINDOW.fetch | undefined): Transport;
//# sourceMappingURL=fetch.d.ts.map