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

Pretty overview

Added in v3.10.0


Table of contents


annotations

PrettyAnnotation (type alias)

Signature

export type PrettyAnnotation<A, TypeParameters extends ReadonlyArray<any> = readonly []> = (
  ...pretties: { readonly [K in keyof TypeParameters]: Pretty<TypeParameters[K]> }
) => Pretty<A>

Added in v3.10.0

model

Pretty (interface)

Signature

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

Added in v3.10.0

prettify

make

Signature

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

Added in v3.10.0

utils

match

Signature

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

Added in v3.10.0