site/node_modules/mathjax-full/js/adaptors/browserAdaptor.d.ts

14 lines
471 B
TypeScript
Raw Permalink Normal View History

2024-10-14 06:09:33 +00:00
import { HTMLAdaptor } from './HTMLAdaptor.js';
declare global {
interface Window {
Document: typeof Document;
DOMParser: typeof DOMParser;
XMLSerializer: typeof XMLSerializer;
HTMLElement: typeof HTMLElement;
HTMLCollection: typeof HTMLCollection;
NodeList: typeof NodeList;
DocumentFragment: typeof DocumentFragment;
}
}
export declare function browserAdaptor(): HTMLAdaptor<HTMLElement, Text, Document>;