Replies: 1 comment
-
This seems very similar to #1216, which is a duplicate of #734. Basically, it is not supported as of right now, but I believe is currently being worked on. I have created a "super issue" to try to keep track of the issues involving generics, if you would like to monitor the progress there. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is there a way to mix generics with class/field definitions? More specifically, I want to define multi-field option "classes" to use in the standard named-and-optional-parameters-via-table Lua pattern. I want one of those fields to be a generic and, ideally, the generic type can define my return type. Some things I've tried and their flaws:
Beta Was this translation helpful? Give feedback.
All reactions