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

    Type Alias DecoderObject<T>

    DecoderObject: {
        [P in keyof Required<T>]:
            | Decoder<T[P]>
            | { decoder: Decoder<T[P]>; fromKey: string }
    }

    Field spec for object: a decoder for the same JSON key, or { fromKey, decoder } to read a different key.

    Type Parameters

    • T