Skip to content

Commit

Permalink
update desc
Browse files Browse the repository at this point in the history
  • Loading branch information
tyiuhc committed Nov 30, 2023
1 parent b24ca9a commit fe05200
Showing 1 changed file with 13 additions and 12 deletions.
25 changes: 13 additions & 12 deletions packages/experiment-browser/src/config.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { FetchHttpClient } from './transport/http';
import { ExperimentAnalyticsProvider } from './types/analytics';
import { ExposureTrackingProvider } from './types/exposure';
import { ExperimentUserProvider } from './types/provider';
import { Source } from './types/source';
import { HttpClient } from './types/transport';
import { Variant, Variants } from './types/variant';
import {FetchHttpClient} from './transport/http';
import {ExperimentAnalyticsProvider} from './types/analytics';
import {ExposureTrackingProvider} from './types/exposure';
import {ExperimentUserProvider} from './types/provider';
import {Source} from './types/source';
import {HttpClient} from './types/transport';
import {Variant, Variants} from './types/variant';

/**
* @category Configuration
Expand All @@ -29,18 +29,19 @@ export interface ExperimentConfig {
*/
fallbackVariant?: Variant;

/**
* Initial values for flags.
*/
initialFlags?: string;

/**
* Initial values for variants. This is useful for bootstrapping the
* client with fallbacks and values evaluated from server-side rendering.
* @see Variants
*/
initialVariants?: Variants;

/**
* Initial values for flags. This is useful for bootstrapping the
* client with fallbacks for flag configs.
*/
initialFlags?: string;

/**
* Determines the primary source of variants and variants before falling back.
* @see Source
Expand Down

0 comments on commit fe05200

Please sign in to comment.