From cb073140179d274236be6fce946ddbc48b78c24e Mon Sep 17 00:00:00 2001 From: Yang Liu Date: Mon, 9 Dec 2019 13:35:47 -0800 Subject: [PATCH] update doc --- CHANGELOG.md | 4 ++++ README.md | 3 ++- types/index.ts | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 122b1ef..eec2eb3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 1.7.3 + +- export `Int` branded type + ## 1.7.0 - supports `GenericType` diff --git a/README.md b/README.md index 6196745..0984f92 100644 --- a/README.md +++ b/README.md @@ -123,9 +123,10 @@ decoder.register(schema()); 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, diff --git a/types/index.ts b/types/index.ts index cc15751..33ef614 100644 --- a/types/index.ts +++ b/types/index.ts @@ -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,