From 86ed8d60d74ff4fb6a4e18be71be812f5666a401 Mon Sep 17 00:00:00 2001 From: Ryan Young Date: Tue, 30 Aug 2022 10:00:37 -0700 Subject: [PATCH] fix(5.0): debug.traceback takes an optional string --- core/5.0/debug.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/5.0/debug.d.ts b/core/5.0/debug.d.ts index 1c4ef6a..a0772a1 100644 --- a/core/5.0/debug.d.ts +++ b/core/5.0/debug.d.ts @@ -179,5 +179,5 @@ declare namespace debug { * string is appended at the beginning of the traceback. This function is * typically used with xpcall to produce better error messages. */ - function traceback(message: T): T; + function traceback(message?: string | null): string; }