Skip to content

Commit

Permalink
Shorten multi
Browse files Browse the repository at this point in the history
  • Loading branch information
lydell committed Nov 30, 2024
1 parent edc8507 commit b550256
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -287,9 +287,12 @@ Here’s a summary of all codecs (with slightly simplified type annotations) and
"type2",
"type10"
]) => Codec<
{ type: "type1", value: type1 }
| { type: "type2", value: type2 }
| { type: "type10", value: type10 }
{ type: "type1",
value: type1 }
| { type: "type2",
value: type2 }
| { type: "type10",
value: type10 }
&gt;</pre></td>
<td>you decide</td>
<td>A subset of: <pre>{ type: "undefined"; value: undefined }
Expand Down

0 comments on commit b550256

Please sign in to comment.