Closed jasonkuhrt closed 1 month ago
When I change the import to the following and log it:
import * as x from 'ts-checked-fsm';
I get:
[Module: null prototype] { default: { stateMachine: [Function: n] } }
so, its coming through as a default export, not a named export... hm 😕
This pnpm patch solves it for me:
Thanks for tracking this down! Should be fixed in 1.0.0-rc.40
Happy it helped!
@jahands resolved the issue thanks!
When trying to run
tsx
on code that imports this library the following error happens:It actually appears to be coming from Node.
I've bee looking at this and
ts-checked-fsm
package but do not see what the issue is yet.