TypeScript issue with inferred types in managed runtime context using React - Effect Community