Skip to content

Commit

Permalink
fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
dmarticus committed Jan 28, 2025
1 parent 9e5170d commit fb90322
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/posthog-featureflags.ts
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,8 @@ export class PostHogFeatureFlags {
* @param {Object|Array|String} flags Flags to override with.
* @param {boolean} [suppressWarning=false] Optional parameter to suppress the override warning.
* @param {Object} [payloads] Optional parameter to override the payloads for the feature flags.
* @param {boolean} [triggerFlagEvent=true] Optional parameter to trigger the _fireFeatureFlagsCallbacks() event.
* @param {boolean} [triggerFlagEvent] Optional parameter to trigger the _fireFeatureFlagsCallbacks() event.
* If set to true, calling `override` will trigger the callback, which is useful for triggering things like the `useFeatureFlagEnabled` hook.
*/
override(
flags: boolean | string[] | Record<string, string | boolean>,
Expand Down

0 comments on commit fb90322

Please sign in to comment.