函数返回值能增加代码提示吗?

类似这种场景:

local function getDirector()
return cc.Director:getInstance()
end

getDirector():

支持。是不是lua比较动态,不好确定类型,一般只有创建时代码提示比较强。