Skip to content

Commit

Permalink
docs: use t.Integer instead of t.number
Browse files Browse the repository at this point in the history
  • Loading branch information
gcanti committed Dec 6, 2017
1 parent 86a1b21 commit 6c8c9aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ import { fromNewtype } from 'io-ts-types/lib/newtype-ts/fromNewtype'

const Person = t.interface({
name: t.string,
age: fromNewtype<Age>(t.number)
age: fromNewtype<Age>(t.Integer)
})
```

Expand Down

0 comments on commit 6c8c9aa

Please sign in to comment.