File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
packages/integrations/src Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 1+ /* eslint-disable @typescript-eslint/no-unsafe-member-access */
12import { Event , EventProcessor , Hub , Integration } from '@sentry/types' ;
23import { getGlobalObject , logger , uuid4 } from '@sentry/utils' ;
34import * as localForageType from 'localforage' ;
@@ -21,7 +22,8 @@ export class Offline implements Integration {
2122 /**
2223 * the global instance
2324 */
24- public global : Window ;
25+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
26+ public global : any ;
2527
2628 /**
2729 * the current hub instance
@@ -42,7 +44,8 @@ export class Offline implements Integration {
4244 * @inheritDoc
4345 */
4446 public constructor ( options : { maxStoredEvents ?: number } = { } ) {
45- this . global = getGlobalObject < Window > ( ) ;
47+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
48+ this . global = getGlobalObject < any > ( ) ;
4649 this . maxStoredEvents = options . maxStoredEvents || 30 ; // set a reasonable default
4750 // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access
4851 this . offlineEventStore = localForage . createInstance ( {
You can’t perform that action at this time.
0 commit comments