Skip to content

Commit 87534e7

Browse files
TheModMakerAnteWall
authored andcommitted
Fix field type in Cue.
This field is typed to be a non-nullable string, but the compiler was ignoring this type since it was defined on the interface. A new version of the compiler caught this error. Originally cr/257309718. Change-Id: I9e7589c3b059ca39324078c867dbc27f3742a095
1 parent fc97b82 commit 87534e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/text/cue.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ shaka.text.Cue = class {
139139
* @override
140140
* @exportInterface
141141
*/
142-
this.backgroundImage = null;
142+
this.backgroundImage = '';
143143

144144
/**
145145
* @override

0 commit comments

Comments
 (0)