Skip to content

Commit

Permalink
docs: fix comment in README for Hook’s after method (#1102)
Browse files Browse the repository at this point in the history
## This PR

- Fixes incorrect comment in the README for the Hook implementation's
`after` method.

Signed-off-by: Christian Llontop <[email protected]>
Co-authored-by: Todd Baert <[email protected]>
  • Loading branch information
chrisllontop and toddbaert authored Dec 10, 2024
1 parent 16321c3 commit ba8d1ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/web/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ import type { Hook, HookContext, EvaluationDetails, FlagValue } from "@openfeatu

export class MyHook implements Hook {
after(hookContext: HookContext, evaluationDetails: EvaluationDetails<FlagValue>) {
// code that runs when there's an error during a flag evaluation
// code that runs after flag values are successfully resolved from the provider
}
}
```
Expand Down

0 comments on commit ba8d1ae

Please sign in to comment.