Effect CommunityEC
Effect Community3y ago
5 replies
Patrick Roza

Problem when using custom arbitraries defined in esm package

interesting issue when i'm trying to use an Arbitrary defined in one of my packages, in schema:
Argument of
type 'typeof import(\"/Users/patrickroza/pj/effect-app/libs/node_modules/fast-check/lib/types/fast-check\")' is not assignable to parameter of
type 'typeof import(\"/Users/patrickroza/pj/effect-app/libs/node_modules/fast-check/lib/esm/types/fast-check\", { with: { \"resolution-mode\": \"import\" } })'

one seems to go for the esm types, and the other one isn't, guess I should report to them, as they should use a single type set probably
Was this page helpful?