Skip to content

Commit 42bc42f

Browse files
committed
Give htmlData a default of null
1 parent a0b1af1 commit 42bc42f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

shadow.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ export class Shadow extends HTMLElement {
5050
/** @private */
5151
_waitingList = new Set();
5252

53-
/** @type{HTMLTemplateElement} */
54-
htmlData = createTemplate("");
53+
/** @type{HTMLTemplateElement | null } */
54+
htmlData = null;
5555

5656
/** @type{JsonValue} */
5757
jsonData = null;

0 commit comments

Comments
 (0)