Interface Attribute

A structure that includes the type and value of an attribute

interface Attribute {
    type: number;
    value?:
        | string
        | number
        | boolean
        | Date
        | Buffer;
}

Properties

Properties

type: number

The attribute type

value?:
    | string
    | number
    | boolean
    | Date
    | Buffer

The value of the attribute