Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface RemoteDataType<L, R, O>

Type parameters

Hierarchy

Index

Type aliases

Properties

Methods

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<RemoteData<Of<L>, Of<R>>>

Type declaration

Readonly encode

encode: (i: RemoteData<Of<L>, Of<R>>) => O

Type declaration

Readonly expected

expected: string

Readonly is

is: Is<RemoteData<Of<L>, Of<R>>>

Readonly left

left: L

Readonly name

name: string

Readonly right

right: R

Methods

fromGuard

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

Generated using TypeDoc