avoidConstructThenMapDo not map directly on table.create(...) or new Array(...). Allocate first, then write by index in a loop.small-rules/no-table-create-mapDisallow map(...) directly on table.create(...) and new Array(...) constructor patterns in roblox-ts.
avoidConstructThenMapDo not map directly on table.create(...) or new Array(...). Allocate first, then write by index in a loop.This rule does not accept options.
const mapped = table.create(total).map((_, index) => index);table.create(entries);