1
0
mirror of https://github.com/jaandrle/deka-dom-el synced 2026-01-11 16:26:28 +01:00

Add ddeSignal type to global scope + TODOs updated

This commit is contained in:
2023-09-07 18:21:51 +02:00
parent 6fae2fc4e6
commit 9b77d65279
5 changed files with 7 additions and 6 deletions

1
index.d.ts vendored
View File

@@ -2,7 +2,6 @@ import { Signal } from "./src/signals";
//TODO?
declare global {
type ddeFires<T extends string[]>= ( (...a: any[])=> any ) & { events: T };
type ddeSignal<T, A>= Signal<T, A>;
}
type ElementTagNameMap= HTMLElementTagNameMap & SVGElementTagNameMap & {
'#text': Text