Skip to content

Commit

Permalink
Merge pull request #260 from iljapostnovs/development
Browse files Browse the repository at this point in the history
XML ID -> Control interface generator bugfix
  • Loading branch information
iljapostnovs authored Sep 13, 2022
2 parents a8c497d + 8ab51ea commit 79dd5b1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## 0.14.34 (13-09-2022)
* XML ID -> Control interface generator bugfix

## 0.14.33 (11-09-2022)
* OData interface generator bugfix

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "ui5plugin",
"displayName": "SAPUI5 Extension",
"description": "Extension for working with UI5 projects",
"version": "0.14.33",
"version": "0.14.34",
"publisher": "iljapostnovs",
"author": "Ilja Postnovs <ilja.postnovs@gmail.com>",
"license": "Apache-2.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export class TSXMLInterfaceGenerator implements ITSInterfaceGenerator {
return `import ${className} from "${toImport}";`;
});
const aInterfaces = mInterfaceData.map(interfaceData => {
const sExtends = interfaceData.extends.join(", ");
const sExtends = [... new Set(interfaceData.extends)].join(", ");
return `export interface ${interfaceData.name}${sExtends ? ` extends ${sExtends}` : ""} {\n\t${interfaceData.rows}\n}`;
});

Expand Down

0 comments on commit 79dd5b1

Please sign in to comment.