Skip to content

Commit

Permalink
fix: type toHTML method argument (#51)
Browse files Browse the repository at this point in the history
  • Loading branch information
yorch committed Nov 6, 2023
1 parent ed0c895 commit bef2df8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.d.ts
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 bef2df8

Please sign in to comment.