mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-02-11 11:22:51 +00:00
* Added vcf package definitions * Added vcf package definitions * fixed export, added comments.
12 lines
162 B
TypeScript
12 lines
162 B
TypeScript
import * as vCard from 'vcf';
|
|
|
|
const card = new vCard();
|
|
|
|
const json = card.toJSON();
|
|
|
|
card.get('n');
|
|
|
|
card.get('tel');
|
|
|
|
const secondCard = vCard.fromJSON(json);
|