UNPKG

take-shot

Version:
13 lines (12 loc) 462 B
export declare function resolveUrl(url: string, baseUrl: string | null): string; export declare function toArray<T>(arrayLike: CSSRuleList): T[]; export declare const isInstanceOfElement: <T extends { new (): Element; prototype: Element; } | { new (): HTMLElement; prototype: HTMLElement; } | { new (): SVGImageElement; prototype: SVGImageElement; }>(node: Element | HTMLElement | SVGImageElement, instance: T) => node is T["prototype"];