Issue with `Array.isArray` and `ReadonlyArray` in TypeScript - Effect Community