Replies: 1 comment 1 reply
-
Mark them as classes and it should work. I use classes a lot, even just for namespaces. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In my case, I have two modules that return tables.
moduleA.lua
moudleB.lua
I want to annotate variable as the union of those two. Is it possible?
I really need to import the module because that module is from library, so, I don't want to repeat to type all the definition. How to make union type with the modules?
Beta Was this translation helpful? Give feedback.
All reactions