diff --git a/README.md b/README.md index 16bbe31..ab8ecda 100644 --- a/README.md +++ b/README.md @@ -212,10 +212,12 @@ Here’s a summary of all codecs (with slightly simplified type annotations) and fields
(mapping: {
  field1: Codec<T1>,
- field2: Field<T2,
-  {optional: true}>,
- field3: Field<T3,
-  {renameFrom: "field_3"}>,
+ field2:
+  Field<T2,
+   { optional: true }>,
+ field3:
+  Field<T3,
+   { renameFrom: "field_3" }>,
  fieldN: Codec<TN>
 }) => Codec<{
  field1: T1,