Skip to content

Commit

Permalink
Style.
Browse files Browse the repository at this point in the history
  • Loading branch information
seanmorris committed Sep 5, 2024
1 parent 0ce418e commit bdd030b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -576,6 +576,8 @@ Exclusively map values to a Group. Will drop any keys not present in the schema.

#### Schema.xRecord(properties)

Exclusively map values to a Record. Will drop any keys not present in the schema.

```javascript
const companySchema = s.xRecord({
name: s.string(),
Expand All @@ -594,8 +596,6 @@ const company = companySchema({
console.log({company});
```

Exclusively map values to a Record. Will drop any keys not present in the schema.

#### Schema.xDict(properties)

Exclusively map values to a Dict. Will drop any keys not present in the schema.
Expand Down

0 comments on commit bdd030b

Please sign in to comment.