mirror of
https://github.com/jaandrle/deka-dom-el
synced 2026-01-11 16:26:28 +01:00
cross-platform using enviroment (#14)
* 🎉 * Dev bugs@v0.7.6 (#12) * Update observables-lib.js * `collectChildren` * Update todosComponent.js * 🚀 filter for `collectChildren` * finalization
This commit is contained in:
8
jsdom.d.ts
vendored
8
jsdom.d.ts
vendored
@@ -1,5 +1,13 @@
|
||||
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,
|
||||
|
||||
Reference in New Issue
Block a user