From c79c9ba41eea5891af828c134427c0cbed059f48 Mon Sep 17 00:00:00 2001 From: mild jafari Date: Mon, 10 May 2021 20:15:43 +0430 Subject: [PATCH] cause occured to me error in webstrorm --- templates/operationBody.mustache | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/operationBody.mustache b/templates/operationBody.mustache index f0b91cb..40994ef 100644 --- a/templates/operationBody.mustache +++ b/templates/operationBody.mustache @@ -9,6 +9,6 @@ }}{{#operationParameters}}{{paramVar}}{{^paramIsLast}}, {{/paramIsLast }}{{/operationParameters}}{{/operationParamsClass }}).pipe( - __map(_r => _r.body as {{{operationResultType}}}) + __map((_r: __StrictHttpResponse<{{{operationResultType}}}>) => _r.body as {{{operationResultType}}}) ); }