Skip to content

Commit c1c03ea

Browse files
Added 'visible' key (public, protected, ...) in JSON output.
1 parent a89b343 commit c1c03ea

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

script/cli/doc.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,7 @@ local function collectTypes(global, results)
187187
field.desc = getDesc(source)
188188
field.rawdesc = getDesc(source, true)
189189
field.extends = packObject(source.value)
190+
field.visible = vm.getVisibleType(source)
190191
return
191192
end
192193
if source.type == 'tableindex' then

0 commit comments

Comments
 (0)