We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f90015d commit f70c326Copy full SHA for f70c326
injected/src/features/breakage-reporting.js
@@ -24,8 +24,8 @@ export default class BreakageReporting extends ContentFeature {
24
if (getReloaded) {
25
result.pageReloaded =
26
(window.performance.navigation && window.performance.navigation.type === 1) ||
27
- window.performance
28
- .getEntriesByType('navigation')
+ /** @type {PerformanceNavigationTiming[]} */
+ (window.performance.getEntriesByType('navigation'))
29
.map((nav) => nav.type)
30
.includes('reload');
31
}
0 commit comments