Skip to content

Commit c4f5b54

Browse files
committed
[tracker] replace default value with correct type
1 parent 166eaf1 commit c4f5b54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vast_tracker.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ export class VASTTracker extends EventEmitter {
7777
return accumulator;
7878
},
7979
{ notViewable: [], viewUndetermined: [], viewable: [] }
80-
) || [];
80+
) || {};
8181

8282
Object.entries(this.viewableImpressionTrackers).forEach(([key, value]) => {
8383
if (value.length) this.trackingEvents[key] = value;

0 commit comments

Comments
 (0)