ts.data.json - v4.2.1
    Preparing search index...

    Type Alias Decoder<T>

    Decoder: (json: any) => Result<T>

    A decoder: a function that validates an unknown JSON value and returns a Result. Build decoders with the schema functions below, run them with decode, parse, or decodePromise, and combine them with map and flatMap

    Type Parameters

    • T

    Type Declaration