Charm sync payload type guard

Do I need a type guard for sync payload and if so, what could I use? P.S. Please add a Charm tag to the help page
No description
Solution:
t.any 🙏
Jump to solution
8 Replies
Solution
wAD
wAD6d ago
t.any 🙏
Phantom
PhantomOP6d ago
is that fine because it's server to client?
wAD
wAD6d ago
yeah
Phantom
PhantomOP6d ago
ah thanks will mark as solution
wAD
wAD6d ago
idk how people are typing out guards manually why don't you use flamework stuff
Phantom
PhantomOP6d ago
idk i havent found much use for it maybe that is out of ignorance though
wAD
wAD6d ago
not going to be much for a ui based game anyway you could keep networking and don't use singletons
Phantom
PhantomOP6d ago
maybe. i like remo but i should definitely try it out realised you don't need the player argument so the ss is wrong also i didn't do player: Player

Did you find this page helpful?