Skip to main content Link Search Menu Expand Document (external link)

Pretty overview

Added in v1.0.0


Table of contents


annotations

pretty

Signature

export declare const pretty: <A>(
  handler: (...args: ReadonlyArray<Pretty<any>>) => Pretty<A>
) => <I, R>(self: Schema.Schema<A, I, R>) => Schema.Schema<A, I, R>

Added in v1.0.0

hooks

PrettyHookId

Signature

export declare const PrettyHookId: typeof PrettyHookId

Added in v1.0.0

PrettyHookId (type alias)

Signature

export type PrettyHookId = typeof PrettyHookId

Added in v1.0.0

model

Pretty (interface)

Signature

export interface Pretty<To> {
  (a: To): string
}

Added in v1.0.0

prettify

make

Signature

export declare const make: <A, I, R>(schema: Schema.Schema<A, I, R>) => (a: A) => string

Added in v1.0.0

utils

match

Signature

export declare const match: AST.Match<Pretty<any>>

Added in v1.0.0