diff --git a/packages/repo-tools/templates/typescript-backstage/modelGeneric.mustache b/packages/repo-tools/templates/typescript-backstage/modelGeneric.mustache index 67954c0378..ce42680532 100644 --- a/packages/repo-tools/templates/typescript-backstage/modelGeneric.mustache +++ b/packages/repo-tools/templates/typescript-backstage/modelGeneric.mustache @@ -8,9 +8,7 @@ {{/description}} {{^isEnum}} export interface {{classname}} { -{{#additionalPropertiesType}} - [key: string]: {{{additionalPropertiesType}}}; -{{/additionalPropertiesType}} +{{>modelGenericAdditionalProperties}} {{#vars}} {{#description}} /**