Effect CommunityEC
Effect Community3y ago
73 replies
steida

The Use of Generic Tags in Mutate Function

Is it ok to have generic tags?

const Mutate = <S extends Schema>(): Context.Tag<Mutate<S>, Mutate<S>> =>
  Context.Tag<Mutate<S>>("evolu/Mutate");
Was this page helpful?