UNPKG

@b-side/parser

Version:

HTML Parser used to parse HTML string and bind data to it.

30 lines 1.15 kB
declare global { interface Window { DocumentFragment: typeof DocumentFragment; HTMLElement: typeof HTMLElement; HTMLStyleElement: typeof HTMLStyleElement; HTMLOptionElement: typeof HTMLOptionElement; HTMLInputElement: typeof HTMLInputElement; SVGElement: typeof SVGElement; DOMParser: typeof DOMParser; } } type Methods = { [k: string]: unknown; }; export declare const getConstructorMethods: (data: any) => Methods; export declare const ValueDelimiter: { readonly '{{': readonly ["}}", true]; readonly '(': readonly [")", true]; readonly '<!--': readonly ["-->", false]; readonly '<': readonly [">", false]; readonly '"': readonly ["\"", true]; readonly "'": readonly ["'", true]; readonly '`': readonly ["`", true]; }; export declare const FindEndOfStringDelimiter: (string: string, startValueDelimiter: keyof typeof ValueDelimiter) => [string, number]; export declare const getDocument: () => Document; export declare const getWindow: () => Window; export declare const setWindowRef: (WindoRef: any) => void; export {}; //# sourceMappingURL=utils.d.ts.map