Effect CommunityEC
Effect Community3y ago
5 replies
Charles

Request to Opacify Type in ADT

Hello, I would like to know if it's possible to opacify the type in SchemaUnionAllActionsAdt, instead of
Data<{
  readonly count: number;
  readonly _tag: "ResetTo";
}> | Data<{
  readonly add: number;
  readonly _tag: "Add";
}>
, I want :
Data<ResetTo> | Data<Add> 
Thanks !
image.png
Was this page helpful?