Skip to content

Commit

Permalink
chore: fix fast-xml-parser import
Browse files Browse the repository at this point in the history
  • Loading branch information
dlenroc authored Jan 12, 2024
1 parent 5dcbf0d commit 1b29548
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/ecp/src/internal/xml.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { XMLParser, type X2jOptionsOptional } from 'fast-xml-parser';
import { XMLParser, type X2jOptions } from 'fast-xml-parser';

const globalOptions = {
attributeNamePrefix: '',
Expand All @@ -9,7 +9,7 @@ const globalOptions = {

export default function parse(
xml: string,
options?: X2jOptionsOptional & { array?: boolean }
options?: X2jOptions & { array?: boolean }
): any {
let parsedXML = new XMLParser({ ...globalOptions, ...options }).parse(xml);

Expand Down

0 comments on commit 1b29548

Please sign in to comment.