Skip to content

Commit 644a3ab

Browse files
bcoeLms24
andauthored
Apply suggestions from code review
Co-authored-by: Lukas Stracke <lukas.stracke@sentry.io>
1 parent d2bbd01 commit 644a3ab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -302,11 +302,11 @@ interface AddPerformanceEntriesOptions {
302302
recordClsOnPageloadSpan: boolean;
303303

304304
/**
305-
* Resource spans matching strings in the array will not be emitted.
305+
* Resource spans with `op`s matching strings in the array will not be emitted.
306306
*
307307
* Default: []
308308
*/
309-
ignoreResourceSpans: Array<string>;
309+
ignoreResourceSpans: Array<'resouce.script' | 'resource.css' | 'resource.img' | 'resource.other' | string >;
310310
}
311311

312312
/** Add performance related spans to a transaction */

0 commit comments

Comments
 (0)