We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1319143 commit d1780a3Copy full SHA for d1780a3
package/src/response.ts
@@ -28,7 +28,7 @@ export class HttpResponse {
28
return JSON.parse(string) as T;
29
}
30
31
- public async toXML <T = unknown>(): Promise<{ root: T }> {
+ public async toXML <T = unknown>(): Promise<T> {
32
const { XMLParser } = await import("fast-xml-parser");
33
34
const parser = new XMLParser({
0 commit comments