1
0
mirror of https://github.com/jaandrle/deka-dom-el synced 2025-04-05 13:15:53 +02:00
deka-dom-el/jsdom.d.ts
2025-03-10 18:20:54 +01:00

17 lines
406 B
TypeScript

import { el, assign, on } from "./index.d";
export * from "./index.d";
type JSDOM= {
window: Window,
document: Document,
Node: typeof Node,
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
}>