You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/types.ts
+8-5Lines changed: 8 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -193,8 +193,8 @@ export type GetTreatmentsOptions = ({
193
193
}
194
194
195
195
/**
196
-
* useSplitTreatments options interface. This is the options object accepted by useSplitTreatments hook,
197
-
* used to call 'client.getTreatmentsWithConfig()', or 'client.getTreatmentsWithConfigByFlagSets()', and retrieve the result together with the Split context.
196
+
* useSplitTreatments options interface. This is the options object accepted by useSplitTreatments hook, used to call 'client.getTreatmentsWithConfig()', or 'client.getTreatmentsWithConfigByFlagSets()',
197
+
* depending on whether `names` or `flagSets` options are provided, and to retrieve the result along with the Split context.
* SplitTreatments Props interface. These are the props accepted by SplitTreatments component,
219
-
* used to call 'client.getTreatmentsWithConfig()', or 'client.getTreatmentsWithConfigByFlagSets()', and pass the result to the child component.
221
+
* SplitTreatments Props interface. These are the props accepted by SplitTreatments component, used to call 'client.getTreatmentsWithConfig()', or 'client.getTreatmentsWithConfigByFlagSets()',
222
+
* depending on whether `names` or `flagSets` props are provided, and to pass the result to the child component.
0 commit comments