Skip to content

Commit

Permalink
Update type definition comment for names and flagSets params
Browse files Browse the repository at this point in the history
  • Loading branch information
EmilianoSanchez committed Nov 14, 2023
1 parent 902c38b commit 9ea53a0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -177,12 +177,12 @@ export interface ISplitClientProps extends IUseSplitClientOptions {
export interface IUseSplitTreatmentsOptions extends IUseSplitClientOptions {

/**
* list of feature flag names
* list of feature flag names to evaluate. If provided, the `flagSets` option is ignored.
*/
names?: string[];

/**
* list of feature flag sets
* list of feature flag sets to evaluate.
*/
flagSets?: string[];
}
Expand Down Expand Up @@ -220,12 +220,12 @@ export interface ISplitTreatmentsProps {
children: ((props: ISplitTreatmentsChildProps) => ReactNode);

/**
* list of feature flag names
* list of feature flag names to evaluate. If provided, the `flagSets` prop is ignored.
*/
names?: string[];

/**
* list of feature flag sets
* list of feature flag sets to evaluate.
*/
flagSets?: string[];
}

0 comments on commit 9ea53a0

Please sign in to comment.