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.
18 lines (16 loc) • 576 B
TypeScript
import { ParameterValueType } from "../values/index";
import { BaseParameter } from "./BaseParameter";
/**
* Represents the "TYPE" parameter
* It is a way of specifying class characteristics of the associated property
*/
export class TypeParameter extends BaseParameter {
/**
* @see For comprehensive usage explanation and examples, see the documentation
* {@link https://kelseykm.github.io/vcard4/documentation/parameters/typeparameter}
*/
constructor(
targetProp: string,
typeValue: ParameterValueType | ParameterValueType[]
);
}