We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent beacc21 commit d0bfdaaCopy full SHA for d0bfdaa
script/cli/doc.lua
@@ -192,6 +192,10 @@ local function collectTypes(global, results)
192
if vm.isAsync(source, true) then
193
field.async = true
194
end
195
+ local depr = vm.getDeprecated(source)
196
+ if (depr and not depr.versions) then
197
+ field.deprecated = true
198
+ end
199
return
200
201
if source.type == 'tableindex' then
@@ -256,6 +260,10 @@ local function collectVars(global, results)
256
260
if vm.isAsync(set, true) then
257
261
result.defines[#result.defines].extends['async'] = true
258
262
263
+ local depr = vm.getDeprecated(set)
264
265
+ result.defines[#result.defines].extends['deprecated'] = true
266
259
267
268
269
if #result.defines == 0 then
0 commit comments