Effect CommunityEC
Effect Community3y ago
2 replies
kristo

Issue with Console Logging Parsed Value: [object Object]

Does anyone know why I would only see [object Object] when I try to console log a parsed value?

const world = S.struct({ hello: S.literal("world") });
console.log(S.parseSync(world)({ hello: "world" }));
// [object Object]
Was this page helpful?