From 11b3213a985ad9d842738b92c98563865f05a66f Mon Sep 17 00:00:00 2001 From: Hugo Mercado Date: Fri, 1 Dec 2023 18:11:27 -0500 Subject: [PATCH] fixed typo. in typescript generator api template --- src/main/resources/handlebars/typescript-fetch/api.mustache | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/handlebars/typescript-fetch/api.mustache b/src/main/resources/handlebars/typescript-fetch/api.mustache index 1ada41f11e..4a929dfd5d 100644 --- a/src/main/resources/handlebars/typescript-fetch/api.mustache +++ b/src/main/resources/handlebars/typescript-fetch/api.mustache @@ -61,7 +61,7 @@ export class BaseAPI { * @extends {Error} */ export class RequiredError extends Error { - name: "RequiredError" + name = "RequiredError" constructor(public field: string, msg?: string) { super(msg); }