Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
timonson committed Jul 7, 2023
1 parent cffbd5f commit 64ed305
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions shadow.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,11 @@ export class Shadow extends HTMLElement {
/** @private */
_waitingList = new Set();

/** @type{HReturn} */
htmlResult = undefined;
/** @type{HTMLTemplateElement | null} */
htmlResult = null;

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

/** @type{Record<string, ReturnType<typeof makeRpcCall>>} */
rpcData = {};
Expand Down
4 changes: 2 additions & 2 deletions util.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,6 @@ export function isHtmlElement(input) {
* @param {unknown} input
* @returns {input is HTMLTemplateElement}
*/
export function isTemplate(el) {
return el instanceof HTMLTemplateElement;
export function isTemplate(input) {
return input instanceof HTMLTemplateElement;
}

0 comments on commit 64ed305

Please sign in to comment.