Expected type table, got 'any | any' instead

image

where renders is defined as:

image

Can you show us what rewardBlueprint and cooldownBlueprint is?

Thanks for the report! I filed a ticket in our internal database.

There are some limits to automatic inference that we have.
To fix this, annotate the array variable: local asArray: {render_schema} = {}.