mirror of
https://github.com/Redocly/redoc.git
synced 2025-02-16 01:40:32 +03:00
9 lines
407 B
TypeScript
9 lines
407 B
TypeScript
export declare const IS_BROWSER: boolean;
|
|
export declare function querySelector(selector: string): Element | null;
|
|
/**
|
|
* Drop everything inside <...> (i.e., tags/elements), and keep the text.
|
|
* Unlike browser innerText, this removes newlines; it also doesn't handle
|
|
* un-encoded `<` or `>` characters very well, so don't feed it malformed HTML
|
|
*/
|
|
export declare function html2Str(html: string): string;
|