In the image, I’m trying to create a type and export via ModuleScript to use it within another ModuleScript to organize types in tables.
However, the issue here is since arrays dont have a set index when indexing, (for example:
myTable = {2,5,8,10}, there is no indexName = value in the table) I assumed that there was no need for a [type]: operator before the nested array. However, without the [type]: operator before the array, the type checker failed to identify the nested array and considered the first index within the table a unique type (outlined in blue text).Expected behavior
I expected the type checker to identify the unassigned [type]: array and use it global within the nested table.

