UNPKG

613 BTypeScriptView Raw
1import type { BaseTransportOptions } from '@sentry/types';
2import type { BrowserOfflineTransportOptions } from './offline';
3declare type BaseTransportAndOfflineTransportOptions = BaseTransportOptions & BrowserOfflineTransportOptions;
4export interface BrowserTransportOptions extends BaseTransportAndOfflineTransportOptions {
5 /** Fetch API init parameters. Used by the FetchTransport */
6 fetchOptions?: RequestInit;
7 /** Custom headers for the transport. Used by the XHRTransport and FetchTransport */
8 headers?: {
9 [key: string]: string;
10 };
11}
12export {};
13//# sourceMappingURL=types.d.ts.map
\No newline at end of file