diff options
Diffstat (limited to 'packages/typed-contracts-templates/partials/return_type.mustache')
-rw-r--r-- | packages/typed-contracts-templates/partials/return_type.mustache | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/packages/typed-contracts-templates/partials/return_type.mustache b/packages/typed-contracts-templates/partials/return_type.mustache index 5366c8fb7..383961a40 100644 --- a/packages/typed-contracts-templates/partials/return_type.mustache +++ b/packages/typed-contracts-templates/partials/return_type.mustache @@ -1,6 +1,6 @@ -{{#outputs.singleReturnValue}} +{{#singleReturnValue}} {{#returnType outputs.0.type}}{{/returnType}} -{{/outputs.singleReturnValue}} -{{^outputs.singleReturnValue}} +{{/singleReturnValue}} +{{^singleReturnValue}} [{{#each outputs}}{{#returnType type}}{{/returnType}}{{#unless @last}}, {{/unless}}{{/each}}] -{{/outputs.singleReturnValue}} +{{/singleReturnValue}} |