From 3811391951b1cee104434dd0b3e50d48266e0ccb Mon Sep 17 00:00:00 2001 From: Hisham Muhammad Date: Tue, 23 Jul 2024 20:19:10 -0300 Subject: [PATCH] API: tl.pretty_print_ast third argument is optional --- tl.tl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tl.tl b/tl.tl index 582d3282d..8b8c7af3b 100644 --- a/tl.tl +++ b/tl.tl @@ -4822,7 +4822,7 @@ local primitive: {TypeName:string} = { ["thread"] = "thread", } -function tl.pretty_print_ast(ast: Node, gen_target: GenTarget, mode: boolean | PrettyPrintOptions): string, string +function tl.pretty_print_ast(ast: Node, gen_target: GenTarget, mode?: boolean | PrettyPrintOptions): string, string local err: string local indent = 0