From 88581bd8c8692a0dd158587c933baae989043d7d Mon Sep 17 00:00:00 2001 From: Aramis Date: Wed, 17 Jan 2024 14:57:18 -0500 Subject: [PATCH] update to use the shared additional properties template Signed-off-by: Aramis --- .../templates/typescript-backstage/modelGeneric.mustache | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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}} /**