Metamethods to a class

Im trying to port the Maid module to roblox-ts, how can I add these metamethods to a class needed to set it to _tasks and automatically cleanup, it might not work using a class, because creating a class already uses metatables in the compilation
No description
2 Replies
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
PepeElToro41
PepeElToro41OP2y ago
oh, this actually seems to work, thank you I would preffer to have it in ts, most of this porting was because Im new on roblox-ts and I wanted to get used to it doing something

Did you find this page helpful?