altmp / altv-types

Type definitions for the alt:V JavaScript modules.
https://www.npmjs.com/~vadzz
MIT License
31 stars 74 forks source link

client|shared|server: Git rid of ugly Array types #276

Closed xxshady closed 1 year ago

xxshady commented 1 year ago

Replaced all ReadonlyArray<T> and Array<T> with readonly T[] and T[]. Added missing readonly to arrays returned from API