Skip to content

Commit 38f9449

Browse files
committed
fix: types
1 parent bdd7ecd commit 38f9449

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

packages/browser-utils/src/metrics/instrument.ts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,14 @@ interface Metric {
9595
* support that API). For pages that are restored from the bfcache, this
9696
* value will be 'back-forward-cache'.
9797
*/
98-
navigationType: 'navigate' | 'reload' | 'back-forward' | 'back-forward-cache' | 'prerender' | 'restore';
98+
navigationType:
99+
| 'navigate'
100+
| 'reload'
101+
| 'back-forward'
102+
| 'back-forward-cache'
103+
| 'prerender'
104+
| 'restore'
105+
| 'soft-navigation';
99106
}
100107

101108
type InstrumentHandlerType = InstrumentHandlerTypeMetric | InstrumentHandlerTypePerformanceObserver;

0 commit comments

Comments
 (0)