✨ feat(index.d.ts): extend create method options to include rootElement parameter
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
4
index.d.ts
vendored
4
index.d.ts
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user