Skip to content

Commit bcb1573

Browse files
authored
Add null to LDEvaluationDetail.reason type (#31)
1 parent 2a2e7f1 commit bcb1573

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

typings.d.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -409,8 +409,9 @@ declare module 'launchdarkly-js-sdk-common' {
409409

410410
/**
411411
* An object describing the main factor that influenced the flag evaluation value.
412+
* Will be `null` if `[[LDOptions.evaluationReasons]]` is `false`.
412413
*/
413-
reason: LDEvaluationReason;
414+
reason: LDEvaluationReason | null;
414415
}
415416

416417
/**

0 commit comments

Comments
 (0)