Skip to content

Commit

Permalink
update doc
Browse files Browse the repository at this point in the history
  • Loading branch information
robturtle committed Dec 9, 2019
1 parent 9e129e2 commit cb07314
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 1.7.3

- export `Int` branded type

## 1.7.0

- supports `GenericType`
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,9 +123,10 @@ decoder.register(schema<Order>());
In [types.ts](types.ts) you can found some common types and its casters:

```typescript
/** @since 1.4.0 */
/** @since 1.7.3 */
export const casters = {
Date: DateFromISOString,
Int: t.Int,
Latitude: Latitude,
Longitude: Longitude,
NonEmptyString: NonEmptyString,
Expand Down
2 changes: 1 addition & 1 deletion types/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export const Longitude = t.brand(
/** @since 1.7.3 */
export { Int } from 'io-ts';

/** @since 1.4.0 */
/** @since 1.7.3 */
export const casters = {
Date: DateFromISOString,
Int: t.Int,
Expand Down

0 comments on commit cb07314

Please sign in to comment.