How do I type my component?
For instance if I have a model component, how can I type it so that I know it's children?
8 Replies
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
Playground link
Posted by <@281211788723486720>
That's so great! I think I misunderstand though. If I wanted to type the children of a
BasePart
I think it would go something like this
But I get an error when attempting to use it
Might also be my naïve TypeScript knowledge
(sorry if I double pinged, I replied to the roblox-ts by accident)
OH, it appears I was not asking for the .attributes
of this
I'll tinker a bit more.
It worked! Thanks brothaUnknown User•3y ago
Message Not Public
Sign In & Join Server To View
This is so lit, what an intuitive framework! Thanks for you help man
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
@trmcburger I can only do this with components though? Services are a different ball park?
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View