Troubleshooting TypeScript Error with Effect and FileSystem Abstraction
I am sorry if this is a stupid question - I am trying to use effect 3.9.1, @effect/platform 0.68.4 and @effect/platform-node 0.63.4. I fail to define a single function that would use the File System abstraction.
I have reduced the code to
This leads to a compiler error that I fail to understand - I am fairly convinced I missed something in the docs, but cant find it - My code looks like a very simple excerpt from the platform docs:
I have reduced the code to
This leads to a compiler error that I fail to understand - I am fairly convinced I missed something in the docs, but cant find it - My code looks like a very simple excerpt from the platform docs:
