import * as t from 'io-ts' ; export const description = t . string ; export type Description = t . TypeOf < typeof description > ; export const descriptionOrUndefined = t . union ( [ description , t . undefined ] ) ; export type DescriptionOrUndefined = t . TypeOf < typeof descriptionOrUndefined > ;