mirror of
https://github.com/oven-sh/bun
synced 2026-02-09 10:28:47 +00:00
Improve HTMLRewriterTypes.Element.attributes type (#16319)
This commit is contained in:
2
packages/bun-types/html-rewriter.d.ts
vendored
2
packages/bun-types/html-rewriter.d.ts
vendored
@@ -50,7 +50,7 @@ declare namespace HTMLRewriterTypes {
|
||||
|
||||
interface Element {
|
||||
tagName: string;
|
||||
readonly attributes: IterableIterator<string[]>;
|
||||
readonly attributes: IterableIterator<[string, string]>;
|
||||
readonly removed: boolean;
|
||||
/** Whether the element is explicitly self-closing, e.g. `<foo />` */
|
||||
readonly selfClosing: boolean;
|
||||
|
||||
Reference in New Issue
Block a user