We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bcc0b86 commit c142b4fCopy full SHA for c142b4f
packages/browser/src/integrations/featureFlags/unleash/types.ts
@@ -13,4 +13,11 @@ export interface UnleashClient {
13
getVariant(this: UnleashClient, featureName: string): IVariant;
14
}
15
16
-export type UnleashClientClass = new (...args: unknown[]) => UnleashClient;
+export interface IConfig {
17
+ [key: string]: unknown;
18
+ appName: string;
19
+ clientKey: string;
20
+ url: URL | string;
21
+}
22
+
23
+export type UnleashClientClass = new (config: IConfig) => UnleashClient;
0 commit comments