Error Extending `Data.TaggedError` Class in TypeScript
I have a weird issue.
Since the
However, even when leaving the code untouched:
I get a:
How in the world is it working when I import it from the package, but fails to work when I use it as raw code
Since the
Data.TaggedError itself cannot be extended the way I want because of TS4023: Exported variable X has or is using name Y from external module, I tried to copy/paste the code from the Effect repository.However, even when leaving the code untouched:
I get a:
Error: BUG: FiberRuntime - {How in the world is it working when I import it from the package, but fails to work when I use it as raw code
