UNPKG

@typed/io

Version:

Runtime IO type system

7 lines 295 B
import { ComparableValues } from '@typed/lambda'; import { Type } from './Type'; export interface LiteralType<A> extends Type<A> { readonly value: A; } export declare function literal<A extends ComparableValues>(value: A, name?: string): LiteralType<A>; //# sourceMappingURL=Literal.d.ts.map