Skip to content

Commit

Permalink
port changes from @azure/core-http
Browse files Browse the repository at this point in the history
to adapt to changes introduced in @types/xml2js v0.4.11
  • Loading branch information
jeremymeng committed Jul 28, 2022
1 parent 0d9674d commit 5a75d35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/util/xml.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export function parseXML(str: string): Promise<any> {
if (!str) {
reject(new Error("Document is empty"));
} else {
xmlParser.parseString(str, (err?: Error, res?: any) => {
xmlParser.parseString(str, (err: any, res: any) => {
if (err) {
reject(err);
} else {
Expand Down

0 comments on commit 5a75d35

Please # to comment.