-
-
Notifications
You must be signed in to change notification settings - Fork 511
Open
Description
π Bug report
Current Behavior
When type: module in package.json, trying to import Either like this is failing:
import * as E from 'fp-ts/Either'Expected behavior
Think this is should works according to docs
Reproducible example
Suggested solution(s)
Adding exports field to package.json with all possible paths to import from package
Additional context
Your environment
Which versions of fp-ts are affected by this issue? Did this work in previous versions of fp-ts?
| Software | Version(s) |
|---|---|
| fp-ts | |
| TypeScript |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels