Skip to content

@lelantos-org/sdk / index / Brand

Type Alias: Brand<T, Tag> โ€‹

ts
type Brand<T, Tag> = T & object;

Defined in: @lelantos-org/sdk/dist/core/brand.d.ts:6

Nominal wrapper: structurally T, but assignable only from a value carrying the same tag.

Type Declaration โ€‹

[BRAND] โ€‹

ts
readonly [BRAND]: Tag;

Type Parameters โ€‹

Type Parameter
T
Tag extends string

Lelantosno cookies ๐Ÿช ยท no tracking ๐Ÿ‘๏ธ ยท no accounts ๐Ÿ‘คwalletexplorer4536080GitHub