Make TITRE_TEXT.#text optional for JORF articles

This commit is contained in:
Emmanuel 2023-10-21 09:36:27 +02:00
parent fdf395e645
commit 187d3bb8f2
2 changed files with 2 additions and 2 deletions

View file

@ -662,7 +662,7 @@ function auditTitreTxt(audit: Audit, dataUnknown: unknown): [unknown, unknown] {
remainingKeys,
auditTrimString,
auditEmptyToNull,
auditRequire,
// auditRequire,
)
audit.attribute(
data,

View file

@ -46,7 +46,7 @@ export interface JorfArticle {
"@num"?: string
"@num_parution_jo"?: string
TITRE_TXT?: Array<{
"#text": string
"#text"?: string
"@c_titre_court"?: string
"@debut": string
"@fin": string