browserAdaptor.d.ts 471 B

12345678910111213
  1. import { HTMLAdaptor } from './HTMLAdaptor.js';
  2. declare global {
  3. interface Window {
  4. Document: typeof Document;
  5. DOMParser: typeof DOMParser;
  6. XMLSerializer: typeof XMLSerializer;
  7. HTMLElement: typeof HTMLElement;
  8. HTMLCollection: typeof HTMLCollection;
  9. NodeList: typeof NodeList;
  10. DocumentFragment: typeof DocumentFragment;
  11. }
  12. }
  13. export declare function browserAdaptor(): HTMLAdaptor<HTMLElement, Text, Document>;