From c4d4a2f6e08b56441ab9c8a7f48d5c2b82895a50 Mon Sep 17 00:00:00 2001 From: Sebastian Frank Date: Wed, 27 Aug 2025 14:36:04 +0000 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20feat(index.d.ts):=20update=20create?= =?UTF-8?q?=20method=20parameter=20type=20for=20XML=20string=20creation?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.d.ts b/index.d.ts index d7f1f6e..dd099f7 100644 --- a/index.d.ts +++ b/index.d.ts @@ -506,10 +506,10 @@ declare global { /** * create xml string * - * @param data object or array + * @param data object or array (map with string keys as nodes (-KEY will be attribute in parent node)) * @param options options */ - create(data: any, options?: {}): string + create(data: {[key: string]: any}, options?: {}): string /** * parse xml string to json