Compatibility between data and immutable.js with TypeScript - Effect Community