UNPKG

vcard4

Version:

An RFC 6350 compliant JavaScript library for generating and parsing version 4.0 vCards. Can also generate RFC 6351 compliant XML vCards and RFC 7095 compliant jCards. TypeScript type declarations are provided.

17 lines (15 loc) 567 B
import { BaseValue } from "./BaseValue"; /** * Represents the "integer" data type */ export class IntegerType extends BaseValue { reprJSON(): [string, number | bigint]; /** * @param intValue - The value may be signed (+/-). The maximum value is * 9223372036854775807n, and the minimum value is -9223372036854775808n when * using bigint values, but when using values of type number, the maximum * number is `Number.MAX_SAFE_INTEGER` and the minimum is * `Number.MIN_SAFE_INTEGER` */ constructor(intValue: number | bigint); }