@btc-vision/ecpair - v4.0.2
    Preparing search index...

    Type Alias Brand<T, B>

    Brand: T & { "[___brand]": B }

    Branded type utility. Creates a nominal type from a structural base type. Prevents accidental misuse of structurally identical types (e.g. PrivateKey vs MessageHash).

    Type Parameters

    • T
    • B extends string