Skip to content

Commit

Permalink
Avoid a typescript 'Unsafe member access' error (even though it was a…
Browse files Browse the repository at this point in the history
…n assignment). Don't understand this stuff.
  • Loading branch information
eoghanmurray committed Feb 24, 2025
1 parent 548e13e commit f12c0e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/rrweb/src/record/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,7 @@ function record<T = eventWithTime>(
initialOffset: getWindowScroll(window),
};
if (capturedAssetStatuses.length) {
data.capturedAssetStatuses = capturedAssetStatuses;
data['capturedAssetStatuses'] = capturedAssetStatuses;
}
wrappedEmit(
{
Expand Down

0 comments on commit f12c0e0

Please sign in to comment.