New type solver: pairs() not working on table type

When trying to iterate over a dictionary with pairs(), it doesn’t let me and instead tells me that the table type can’t be converted into {+K:V+} which is what I am assuming a dictionary or key values pair type.

This is what ExternalType returns and the type CharacterBaseStatType.


Expected behavior

I would want to be able to iterate over CharacterData.CharacterBaseStats.

1 Like

nvm i get it i just didnt make CharacterBaseStats intersect with something like {[string]:any}

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.