Open Frityet opened 7 months ago
I think it's not too related to the Pegasus project, right?
It is, sort of, you could either do the type documentation comments inline in the source (which then gives you a powerful type checker for your codebase) or you could create an external metadata file that defines types (like a .d.ts file)
I see, and it makes all sense, indeed!
LuaLanguageServer provides a system of annotations to make lua code safer and easier to read and write
Alongside this, it also offers an easy way to make definitions for libraries, of which if there was definitions for this library it would be very useful.