|
@@ -25,7 +25,7 @@ local function genType(info)
|
|
local types = {}
|
|
local types = {}
|
|
|
|
|
|
for t in info.type:gmatch('[%w{}%*%.]+') do
|
|
for t in info.type:gmatch('[%w{}%*%.]+') do
|
|
- if t == 'function' then -- TODO
|
|
|
|
|
|
+ if t == 'function' then
|
|
table.insert(types, genFunctionType(info))
|
|
table.insert(types, genFunctionType(info))
|
|
elseif t == '*' then
|
|
elseif t == '*' then
|
|
table.insert(types, 'any')
|
|
table.insert(types, 'any')
|