Implement Typed for UserDataRef(Mut)#31
Conversation
|
Can you also add tests into type_file_tests.rs and luau_type_file_tests.rs to prove that the output is as expected. Can be something like a function type that takes these types as parameters and the output would be |
e64ec6a to
50f0393
Compare
50f0393 to
3e6d837
Compare
|
I think I got everything now. The tests are a bit more extensive than requested, because to test the |
|
I think I would rather have it be detailed enough to make sure everything works as expected. I will review it again and try to get it in sometime today. |
Not sure if that was intentionally omitted, but
Typedshould probably also be implemented forUserDataRefandUserDataRefMut. You can pass references to user data to a function by using those. This adds the two implementations.