From 9c0ad76b8b07b77f4bd1fe09157898bc5cf21491 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Goetz?= Date: Thu, 8 May 2025 10:57:15 +0200 Subject: [PATCH] typescript-fetch: Make configuration nullable --- 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 1c84f1edcb..f67dfaf549 100644 --- a/src/main/resources/handlebars/typescript-fetch/api.mustache +++ b/src/main/resources/handlebars/typescript-fetch/api.mustache @@ -44,7 +44,7 @@ export interface FetchArgs { * @class BaseAPI */ export class BaseAPI { - protected configuration: Configuration; + protected configuration?: Configuration; constructor(configuration?: Configuration, protected basePath: string = BASE_PATH, protected fetch: FetchAPI = isomorphicFetch) { if (configuration) {