Skip to content

Commit 496e39f

Browse files
authored
fix: Correct documentation for variationDetail for client SDKs. (#509)
1 parent 9eac9db commit 496e39f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/shared/sdk-client/src/api/LDClient.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -321,8 +321,7 @@ export interface LDClient {
321321
* Determines the variation of a feature flag for a context, along with information about how it was
322322
* calculated.
323323
*
324-
* Note that this will only work if you have set `evaluationExplanations` to true in {@link LDOptions}.
325-
* Otherwise, the `reason` property of the result will be null.
324+
* Note that this will only work if you have set `withReasons` to true in {@link LDOptions}.
326325
*
327326
* The `reason` property of the result will also be included in analytics events, if you are
328327
* capturing detailed event data for this flag.

0 commit comments

Comments
 (0)