✨ feat(index.d.ts): update create method parameter type for XML string creation
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
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user