Skip to content

Commit

Permalink
fix: type DossierWithCustomChamp for annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
baudointran committed Jul 9, 2024
1 parent d2ad81a commit c89b7f4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/dossier/custom-champ.type.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ import { Champ, ChampDescriptor, Dossier } from "../@types/types";
export type CustomChamp = Champ & {
champDescriptor: ChampDescriptor;
};

export type DossierWithCustomChamp = Dossier & {
champs: Array<CustomChamp>;
annotations: Array<CustomChamp>;
};

0 comments on commit c89b7f4

Please sign in to comment.