@karmaniverous/entity-tools
    Preparing search index...

    Type Alias Transcoder<V>

    A pair of encode/decode functions for a specific value type V.

    type Transcoder<V> = {
        decode: (value: string) => V;
        encode: (value: V) => string;
    }

    Type Parameters

    • V
    Index

    Properties

    Properties

    decode: (value: string) => V
    encode: (value: V) => string