Some more things need exporting
samhh opened this issue · 0 comments
samhh commented
Specifically not exporting Sum
causes this to happen if you don't destructure the values out of 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.