Skip to content

Commit

Permalink
refactor(types): allow to omit options when creating a XMLBuilder ins…
Browse files Browse the repository at this point in the history
…tance (NaturalIntelligence#556)

The code allows to pass undefined for options.
  • Loading branch information
p-kuen authored Mar 22, 2023
1 parent 292fb78 commit 79a470e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fxp.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,6 @@ export class XMLValidator{
static validate( xmlData: string, options?: validationOptionsOptional): true | ValidationError;
}
export class XMLBuilder {
constructor(options: XmlBuilderOptionsOptional);
constructor(options?: XmlBuilderOptionsOptional);
build(jObj: any): any;
}

0 comments on commit 79a470e

Please sign in to comment.