mirror of
https://github.com/jaandrle/deka-dom-el
synced 2024-11-24 17:39:36 +01:00
Jan Andrle
5e7f7558b5
* 🎉 * Dev bugs@v0.7.6 (#12) * Update observables-lib.js * `collectChildren` * Update todosComponent.js * 🚀 filter for `collectChildren` * finalization
16 lines
386 B
TypeScript
16 lines
386 B
TypeScript
import { el, assign, on } from "./index.d";
|
|
export * from "./index.d";
|
|
type JSDOM= {
|
|
window: Window,
|
|
document: Document,
|
|
HTMLElement: typeof HTMLElement,
|
|
SVGElement: typeof SVGElement,
|
|
DocumentFragment: typeof DocumentFragment,
|
|
MutationObserver?: typeof MutationObserver
|
|
};
|
|
export function register(dom: JSDOM): Promise<{
|
|
el: typeof el,
|
|
assign: typeof assign,
|
|
on: typeof on
|
|
}>
|