diff --git a/index.d.ts b/index.d.ts index b83370a..7d41ccd 100644 --- a/index.d.ts +++ b/index.d.ts @@ -59,7 +59,7 @@ declare module "youch" { * by parsing the stack into frames and getting * important info out of it. */ - toHTML(data: Record): Promise; + toHTML(data?: Record): Promise; } export default Youch;