Struggling with Typing Function for Dependency Injection in effect-ts with React - Effect Community