Effect CommunityEC
Effect Community3y ago
208 replies
Stephen Bluck

Type Error in `S.compose` with incompatible types

Should this S.compose give me a type error:
export const test = S.compose(S.struct({ name: S.string}), S.number);

Should it say this can't be composed?
Was this page helpful?