1
0
mirror of https://github.com/morris/vanilla-todo.git synced 2025-08-21 13:21:29 +02:00

add some jsdoc for element autocomplete

This commit is contained in:
Morris Brodersen
2023-11-23 20:10:10 +01:00
parent 51c43ef35c
commit 89f6a0f390
17 changed files with 81 additions and 0 deletions

View File

@@ -2,6 +2,9 @@ export const BASE_URL = 'https://unpkg.com/@primer/octicons@19.8.0/build/svg/';
const cache = {};
/**
* @param {HTMLElement} el
*/
export function AppIcon(el) {
if (el.children.length > 0) return;