st be of type 'any', 'number', 'bigint' or an enum type.</span></span>);<hr class="error-divider"><div class="listed-error"><div class="error-line">The right-hand side of an arithmetic operation must be of type 'any', 'number', 'bigint' or an enum type.</div></div></pre></p>
<p>It's entirely possible you really did intend to divide a number by an array, perhaps just to see what would happen.
The vast majority of the time, though, this code is a mistake on the programmer's part.
TypeScript's type system rule