Skip to content

Commit c0ac80a

Browse files
authored
fix(5.0): debug.traceback takes an optional string (#75)
1 parent d0fb7bf commit c0ac80a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/5.0/debug.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,5 +179,5 @@ declare namespace debug {
179179
* string is appended at the beginning of the traceback. This function is
180180
* typically used with xpcall to produce better error messages.
181181
*/
182-
function traceback<T>(message: T): T;
182+
function traceback(message?: string | null): string;
183183
}

0 commit comments

Comments
 (0)