Closed samhh closed 3 years ago
Specifically not exporting Sum causes this to happen if you don't destructure the values out of create:
Sum
create
export const Example = create<Member<'a'>>()
Exported variable 'Example' has or is using name 'Sum' from external module "<path>/sum-types/src/index" but cannot be named.
Specifically not exporting
Sum
causes this to happen if you don't destructure the values out ofcreate
: