Skip to content

Commit a9ab63e

Browse files
committed
add another type
1 parent 1be7c91 commit a9ab63e

File tree

1 file changed

+1
-1
lines changed
  • experimental/packages/otlp-exporter-base/src

1 file changed

+1
-1
lines changed

experimental/packages/otlp-exporter-base/src/types.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export interface ExportServiceError {
4747
* https://github.com/open-telemetry/opentelemetry-js/issues/2205
4848
* Using 'unload' currently blocks OTEL implementing site from bfcache.
4949
*/
50-
export type ShutdownEvent = 'unload' | 'onhide' | 'pagehide' | 'beforeunload';
50+
export type ShutdownEvent = 'unload' | 'onhide' | 'pagehide' | 'beforeunload' | 'visibilitychange';
5151

5252
/**
5353
* Collector Exporter base config

0 commit comments

Comments
 (0)