1
0
mirror of https://github.com/jaandrle/deka-dom-el synced 2024-11-25 01:39:37 +01:00
deka-dom-el/jsdom.d.ts

16 lines
386 B
TypeScript
Raw Normal View History

2023-09-13 21:06:13 +02:00
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
};
2023-11-10 17:15:59 +01:00
export function register(dom: JSDOM): Promise<{
2023-09-05 11:01:29 +02:00
el: typeof el,
assign: typeof assign,
on: typeof on
}>