Skip to content

Commit 3d08ec5

Browse files
committed
perf: attr value as number
1 parent e9d9e9b commit 3d08ec5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: 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 | boolean>;
18+
export type Attributes = Record<string, string | number | boolean>;
1919
export type Content = NodeText | Node[];
2020

2121
export type NodeText = string | number;

0 commit comments

Comments
 (0)