Skip to content

Commit

Permalink
revert type
Browse files Browse the repository at this point in the history
  • Loading branch information
ydaniju committed Nov 3, 2024
1 parent 281995c commit 3e8dcdc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/wsdl/elements.ts
Original file line number Diff line number Diff line change
Expand Up @@ -236,9 +236,9 @@ export class ElementElement extends Element {
if (xmlns && xmlns[TNS_PREFIX]) {
this.$targetNamespace = xmlns[TNS_PREFIX];
}
const inferredType: string = this.$type || this.$ref;
if (inferredType) {
const type = splitQName(inferredType);
let type: any = this.$type || this.$ref;
if (type) {
type = splitQName(type);
const typeName: string = type.name;
const ns: string = xmlns && xmlns[type.prefix] ||
this.xmlns[type.prefix] ||
Expand Down

0 comments on commit 3e8dcdc

Please sign in to comment.