Thanks to visit codestin.com
Credit goes to effect-ts.github.io

Skip to main content Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App

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>

Source

Since v3.10.0

model

Pretty (interface)

Signature

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

Source

Since v3.10.0

prettify

make

Signature

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

Source

Since v3.10.0

utils

match

Signature

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

Source

Since v3.10.0