import * as t from 'io-ts' ; export const deserializer = t . string ; export type Deserializer = t . TypeOf < typeof deserializer > ; export const deserializerOrUndefined = t . union ( [ deserializer , t . undefined ] ) ; export type DeserializerOrUndefined = t . TypeOf < typeof deserializerOrUndefined > ;