Skip to content

Commit d143dbb

Browse files
committedMay 6, 2021
perf: attr value as boolean
1 parent 5e12aa4 commit d143dbb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎types/index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export type Options = {
1515
} & ParserOptions;
1616

1717
export type Tag = string | boolean;
18-
export type Attributes = Record<string, string>;
18+
export type Attributes = Record<string, string | boolean>;
1919
export type Content = NodeText | Node[];
2020

2121
export type NodeText = string | number;

0 commit comments

Comments
 (0)
Please sign in to comment.