NumberAttribute: {
    key: string;
    type: NUMBER;
    value: string;
}

Type declaration

  • key: string

    The attribute's unique identifier.

  • type: NUMBER

    Union discriminant.

  • value: string

    A valid JS number serialized as string. It's consumer responsibility to parse it.

    Example

    '42'

    '42n'

    '42.42'