Open Malakai0 opened 1 year ago
Use of Profile<T>
is if you have a template; call it "PlayerDataTemplate", you can use type PlayerDataTemplate = typeof(setmetatable(PlayerDataTemplate, {}))
to get a type of that template, then Profile<PlayerDataTemplate>
to create a type of Profile that's Data field is of type PlayerDataTemplate; it's super handy.
@LM-loleris Any comment on this?
I would've thought something would've changed in 3 years of not messing with Roblox 😅
Adds Luau types to the library. Used to make modular code easier to read and write. Comes with the nice addon of the ability for intellisense, so we can write code quickly without looking at the documentation over and over again.