@livingroot/yandex-metrica-ab-react
Version:
Fork of yandex-metrica-ab-react by firnis
9 lines (8 loc) • 323 B
TypeScript
import { Config, NamedReturnType } from './types';
export interface UseExperiments {
clientId: string;
param?: string;
config?: Partial<Config>;
clientFeatures?: Record<string, string>;
}
export declare const useExperiments: <T extends Record<string, string>>(params: UseExperiments) => NamedReturnType<T>;