From 8a25a9927bbfe5ba57720cd2dd0c9aa9fd66eb31 Mon Sep 17 00:00:00 2001 From: csgulati09 Date: Wed, 3 Jul 2024 13:08:08 +0530 Subject: [PATCH] fix: initializer for apiKey and baseURL --- src/client.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/client.ts b/src/client.ts index 05a5e2b..37bf3aa 100644 --- a/src/client.ts +++ b/src/client.ts @@ -6,8 +6,8 @@ import { MISSING_API_KEY_ERROR_MESSAGE, PORTKEY_BASE_URL } from "./constants"; import { castToError, readEnv } from "./utils"; export class Portkey extends ApiClient { - override apiKey: string | null; - override baseURL: string; + declare apiKey: string | null; + declare baseURL: string; virtualKey: string | null; config: Record | string | null | undefined; provider: string | null | undefined;