From aeb48e922a8959a9b0fcbe62e5fc227f1d91bd96 Mon Sep 17 00:00:00 2001 From: DualFroz Date: Thu, 15 Oct 2026 00:35:47 +0200 Subject: [PATCH] fix: add endIndex to the CommonJS XMLMetaData declaration --- lib/fxp.d.cts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/fxp.d.cts b/lib/fxp.d.cts index eabd37d..780654d 100644 --- a/lib/fxp.d.cts +++ b/lib/fxp.d.cts @@ -745,6 +745,8 @@ declare class XMLBuilder { declare interface XMLMetaData { /** The index, if available, of the character where the XML node began in the input stream. */ startIndex?: number; + /** The index, if available, of the character where the XML node ended in the input stream. */ + endIndex?: number; } declare namespace fxp {