@xo-cash/types
    Preparing search index...

    Type Alias ValueOf<T>

    ValueOf: T[keyof T]

    Union of all property values in an object type.

    Use this to derive a string literal union from a runtime const object declared with as const.

    Type Parameters

    • T
    export const XOTemplateLockingTypes = {
    P2S: 'p2s',
    P2PKH: 'p2pkh',
    P2SH: 'p2sh',
    } as const;

    export type XOTemplateLockingType = ValueOf<typeof XOTemplateLockingTypes>;
    // 'p2s' | 'p2pkh' | 'p2sh'