Skip to content

Commit

Permalink
Fix type toHTML method argument
Browse files Browse the repository at this point in the history
  • Loading branch information
yorch committed Oct 24, 2023
1 parent ed0c895 commit 462ecb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ declare module "youch" {
* by parsing the stack into frames and getting
* important info out of it.
*/
toHTML(data: Record<string, any>): Promise<string>;
toHTML(data?: Record<string, any>): Promise<string>;
}

export default Youch;
Expand Down

0 comments on commit 462ecb2

Please sign in to comment.