diff --git a/index.d.ts b/index.d.ts index dd099f7..2346427 100644 --- a/index.d.ts +++ b/index.d.ts @@ -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