diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2026-05-18 23:10:59 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2026-05-18 23:41:44 +0800 |
| commit | fc87c009806dcc98867f6b58efe29b042aa01dee (patch) | |
| tree | 8f59b3f4a5b66e9dfef2d40c8d318e258a521228 /node_modules/domutils/lib/stringify.d.ts | |
| parent | 3336b2356ee6152d9c6ae59bd9b87ccbc0958407 (diff) | |
node: updatemain
Diffstat (limited to 'node_modules/domutils/lib/stringify.d.ts')
| -rw-r--r-- | node_modules/domutils/lib/stringify.d.ts | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/node_modules/domutils/lib/stringify.d.ts b/node_modules/domutils/lib/stringify.d.ts deleted file mode 100644 index 6e6e397d..00000000 --- a/node_modules/domutils/lib/stringify.d.ts +++ /dev/null @@ -1,46 +0,0 @@ -import { AnyNode } from "domhandler"; -import { DomSerializerOptions } from "dom-serializer"; -/** - * @category Stringify - * @deprecated Use the `dom-serializer` module directly. - * @param node Node to get the outer HTML of. - * @param options Options for serialization. - * @returns `node`'s outer HTML. - */ -export declare function getOuterHTML(node: AnyNode | ArrayLike<AnyNode>, options?: DomSerializerOptions): string; -/** - * @category Stringify - * @deprecated Use the `dom-serializer` module directly. - * @param node Node to get the inner HTML of. - * @param options Options for serialization. - * @returns `node`'s inner HTML. - */ -export declare function getInnerHTML(node: AnyNode, options?: DomSerializerOptions): string; -/** - * Get a node's inner text. Same as `textContent`, but inserts newlines for `<br>` tags. Ignores comments. - * - * @category Stringify - * @deprecated Use `textContent` instead. - * @param node Node to get the inner text of. - * @returns `node`'s inner text. - */ -export declare function getText(node: AnyNode | AnyNode[]): string; -/** - * Get a node's text content. Ignores comments. - * - * @category Stringify - * @param node Node to get the text content of. - * @returns `node`'s text content. - * @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Node/textContent} - */ -export declare function textContent(node: AnyNode | AnyNode[]): string; -/** - * Get a node's inner text, ignoring `<script>` and `<style>` tags. Ignores comments. - * - * @category Stringify - * @param node Node to get the inner text of. - * @returns `node`'s inner text. - * @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Node/innerText} - */ -export declare function innerText(node: AnyNode | AnyNode[]): string; -//# sourceMappingURL=stringify.d.ts.map
\ No newline at end of file |
