Resolving TypeScript's Lack of Error for Unprovided Service in Effect
I'm kinda lost, TBH.
I have the following effect:
When I'm calling it in the entrypoint of the application, TypeScript don't give me any errors for some reason, but it should, since I did not provide the FileSystem:
This result in a runtime error, as expected:
How do I fix it so that FileSystem becomes a requirement so that TypeScript will give me an error?
I have the following effect:
When I'm calling it in the entrypoint of the application, TypeScript don't give me any errors for some reason, but it should, since I did not provide the FileSystem:
This result in a runtime error, as expected:
How do I fix it so that FileSystem becomes a requirement so that TypeScript will give me an error?
