feat(index.d.ts): extend create method options to include rootElement parameter
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2025-08-27 16:32:38 +00:00
parent c4d4a2f6e0
commit 99e7d940ee

4
index.d.ts vendored
View File

@@ -509,7 +509,9 @@ declare global {
* @param data object or array (map with string keys as nodes (-KEY will be attribute in parent node))
* @param options options
*/
create(data: {[key: string]: any}, options?: {}): string
create(data: {[key: string]: any}, options?: {
rootElement?: string
}): string
/**
* parse xml string to json