Skip to content

Commit

Permalink
Give htmlData a default of null
Browse files Browse the repository at this point in the history
  • Loading branch information
timonson committed Dec 8, 2023
1 parent a0b1af1 commit 42bc42f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions shadow.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ export class Shadow extends HTMLElement {
/** @private */
_waitingList = new Set();

/** @type{HTMLTemplateElement} */
htmlData = createTemplate("");
/** @type{HTMLTemplateElement | null } */
htmlData = null;

/** @type{JsonValue} */
jsonData = null;
Expand Down

0 comments on commit 42bc42f

Please sign in to comment.