Skip to content

Commit

Permalink
API: tl.pretty_print_ast third argument is optional
Browse files Browse the repository at this point in the history
  • Loading branch information
hishamhm committed Jul 26, 2024
1 parent cd378f9 commit 3811391
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tl.tl
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 3811391

Please sign in to comment.