1
0
mirror of https://github.com/jaandrle/deka-dom-el synced 2025-07-01 12:22:15 +02:00

♻️ remove/change type definitions

This commit is contained in:
2023-10-12 10:48:44 +02:00
parent 6a52972373
commit b9bbd105a5
2 changed files with 18 additions and 33 deletions

View File

@ -59,11 +59,7 @@ export function todosComponent({ todos= [ "Task A" ] }= {}){
)
}
/**
* @type {ddeComponent<
* { textContent: ddeSignal<string, any>, value: number },
* HTMLLIElement,
* [ "click" ]
* >}
* @dispatch {number} remove
* */
function todoComponent({ textContent, value }){
const { host }= scope;