import * as t from 'io-ts' ; export const page = t . number ; export type Page = t . TypeOf < typeof page > ; export const pageOrUndefined = t . union ( [ page , t . undefined ] ) ; export type PageOrUndefined = t . TypeOf < typeof pageOrUndefined > ;