Pretty.ts overview
Since v3.10.0
Exports Grouped by Category
annotations
PrettyAnnotation (type alias)
Signature
type PrettyAnnotation<A, TypeParameters> = (
...pretties: { readonly [K in keyof TypeParameters]: Pretty<TypeParameters[K]> }
) => Pretty<A>
Since v3.10.0
model
Pretty (interface)
Signature
export interface Pretty<To> {
(a: To): string
}
Since v3.10.0
prettify
make
Signature
declare const make: <A, I, R>(schema: Schema.Schema<A, I, R>) => (a: A) => string
Since v3.10.0
utils
match
Signature
declare const match: AST.Match<Pretty<any>>
Since v3.10.0