mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-09-07 17:50:19 +00:00
Ramda never modifies its input arrays, so this allows the use of the stricter ReadonlyArray<T>. All Array<T>s are compatible with ReadonlyArray<T>, so this won't break them. Return types are left as Array<T>, since the user should be free to do what they want with the results.