lua-language-server
lua-language-server copied to clipboard
泛型和alias联合使用的问题
Issue Description
Additional Notes
使用泛型返回alias类型似乎没有办法正确的返回类型, 我希望在new中传入类名创建对象,并且强制调用init才能返回对象,不过没有找到正确的注释办法
Sumneko Lua translate bot
Title: Problem of the use of generics and alias
应该不支持这个特性, 看会不会有人替你实现这个特性
Sumneko Lua translate bot
This feature should not be supported, see if someone will implement this feature for you