1
0
mirror of https://github.com/jaandrle/deka-dom-el synced 2025-07-01 20:32:13 +02:00

♻️ Update todosComponent to use types properly

This commit is contained in:
2023-09-12 15:25:13 +02:00
parent 1dd05518b8
commit ff22eed991
2 changed files with 3 additions and 3 deletions

1
src/signals.d.ts vendored
View File

@ -41,6 +41,7 @@ interface S {
signal: SymbolSignal;
onclear: SymbolOnclear;
}
el<S extends any, T extends HTMLElement>(signal: Signal<S, any>, el: (v: S)=> T): T;
}
export const S: S;
declare global {