Skip to content

Commit 08a0506

Browse files
committed
πŸ‘Œ Fix lint: jsdoc indentation and unnecessary non-null assertion
1 parent b7bd5dd commit 08a0506

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

β€Žpackages/rum-core/src/domain/view/viewDiff.tsβ€Ž

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ export interface DiffMergeOptions {
5151
* Returns undefined if no changes.
5252
*
5353
* Default strategy is REPLACE (isEqual check). Exceptions:
54-
* - Both values are plain objects and key is not in replaceKeys: recurse (MERGE)
55-
* Sub-paths (e.g. 'view.custom_timings') are propagated to the recursive call.
54+
* - Both values are plain objects and key is not in replaceKeys: recurse (MERGE), sub-paths
55+
* (e.g. 'view.custom_timings') are propagated to the recursive call.
5656
* - Both values are arrays and key is in appendKeys: include only new trailing elements (APPEND)
5757
*/
5858
export function diffMerge(

β€Žpackages/rum-core/src/transport/startRumBatch.tsβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ export function startRumBatch(
139139
// They intentionally bypass RAW_RUM_EVENT_COLLECTED β†’ assembly β†’ RUM_EVENT_COLLECTED, which
140140
// means they skip beforeSend entirely. view_update is an internal bandwidth optimization β€”
141141
// not a customer-visible event type, and not modifiable via beforeSend.
142-
const diff = computeAssembledViewDiff(serverRumEvent, lastSentView!)
142+
const diff = computeAssembledViewDiff(serverRumEvent, lastSentView)
143143
lastSentView = serverRumEvent
144144
if (diff) {
145145
sendToExtension('rum', diff)

0 commit comments

Comments
Β (0)