Replies: 2 comments 3 replies
-
It is currently not possible to achieve your needs. |
Beta Was this translation helpful? Give feedback.
-
I'm facing the same issue. For my C++ defined classes I've tried the same as mkster has done. I also use Lua defined classes and like my C++ ones, the constructor is implemented as a __call metamethod on the class table (C++ are userdata but same deal). This is the last piece of the puzzle for me, and would mean I don't have to add cluttering @type annotations everywhere like this....
@mkster Did you file an issue? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I am defining a class A with constructor like this
Hovering anything that returns A gives me the following hover hint:
Its there a way to specify the return type as class only to get the following?
Beta Was this translation helpful? Give feedback.
All reactions