UNPKG

gedcom-ts

Version:

TypeScript GEDCOM toolkit for browser apps: import .ged/.zip, edit typed genealogy data, and export GEDCOM or GEDZIP.

9 lines (8 loc) 425 B
import type { Act } from "../commons/Act"; import type { Person } from "../commons/Person"; /** Copie profonde d’un {@link Act} (nouvelle instance, mêmes valeurs). */ export declare function cloneAct(act: Act): Act; /** * Copie profonde d’une {@link Person} avec un nouvel `INDI` (identité, actes, notes, médias, variants, attributs). */ export declare function clonePerson(person: Person, newIndi: number): Person;