import * as t from 'io-ts' ; export const throttle = t . string ; export type Throttle = t . TypeOf < typeof throttle > ; export const throttleOrNull = t . union ( [ throttle , t . null ] ) ; export type ThrottleOrNull = t . TypeOf < typeof throttleOrNull > ; export const throttleOrNullOrUndefined = t . union ( [ throttle , t . null , t . undefined ] ) ; export type ThrottleOrUndefinedOrNull = t . TypeOf < typeof throttleOrNullOrUndefined > ;