16 Replies


Cause you do export default
Do export =
With default I think it gives you the ability to do Multiexport if you use default and still having import Something instead of import {Something} at the same time
I fixed that then ran into another issue with this

What is it?
in roblox it translates to numbered index
for the returned functions
What
Numbered index?
Wdym

Cause you're using destruction
[value1, value2] =
what is the correct syntax in ts?
apologies im still very new to ts
It assumes that you're returning a table and it's apparently doing the proper thing
Cause you're trying to get the first and the second values if the table
For what?
Tuple return?
returning it as a tuple
yes
return $tuple(value1, value2)

i think this is it
👍