Skip to content

Commit

Permalink
perf: attr value as number
Browse files Browse the repository at this point in the history
  • Loading branch information
Scrum committed May 6, 2021
1 parent e9d9e9b commit 3d08ec5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export type Options = {
} & ParserOptions;

export type Tag = string | boolean;
export type Attributes = Record<string, string | boolean>;
export type Attributes = Record<string, string | number | boolean>;
export type Content = NodeText | Node[];

export type NodeText = string | number;
Expand Down

0 comments on commit 3d08ec5

Please sign in to comment.