Skip to content

Commit 60ec0c1

Browse files
committed
perf: tag name type
1 parent 524f1ad commit 60ec0c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export type Options = {
1717
export type Node = NodeText | NodeTag;
1818
export type NodeText = string;
1919
export type NodeTag = {
20-
tag: string;
20+
tag?: string | boolean;
2121
attrs?: Attributes;
2222
content?: Node[];
2323
};

0 commit comments

Comments
 (0)