Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace Type<I, O>

Type parameters

  • I

  • O

Hierarchy

Index

Type aliases

Properties

Functions

Methods

Object literals

Type aliases

Encoding

Encoding<A>: E.OutputOf<A>

Type parameters

  • A

Of

Of<A>: G.TypeOf<A>

Type parameters

  • A

Properties

Readonly decode

decode: (i: unknown) => DecodeEffect<I>

Type declaration

Readonly encode

encode: (i: I) => O

Type declaration

    • (i: I): O
    • Parameters

      • i: I

      Returns O

Readonly expected

expected: string

Readonly name

name: string

Functions

Const fromGuard

  • fromGuard<A>(guard: Guard<A>, expected: string): Decoder<A>
  • fromGuard<A>(guard: Guard<A>, name: string, expected?: string): Type<A>

Methods

id

Readonly is

Object literals

_id

_id: object

encode

encode: <A>(value: A) => A = identity

Type declaration

    • <A>(value: A): A
    • Type parameters

      • A

      Parameters

      • value: A

      Returns A

Generated using TypeDoc