build(types): inspect

This commit is contained in:
Aire-One 2022-08-20 12:25:59 +02:00
parent cc9a724a27
commit 90bed6047d
1 changed files with 12 additions and 0 deletions

12
types/inspect.d.tl Normal file
View File

@ -0,0 +1,12 @@
local record inspect
record InspectOptions
depth: number
newline: string
indent: string
process: function(item: any, path: {any}): any
end
metamethod __call: function(self: inspect, value: any, options: InspectOptions): string
end
return inspect