docs: fix comment in README for Hook’s after method (#1103)

## This PR

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

Signed-off-by: Christian Llontop <me@chrisllontop.com>
This commit is contained in:
Christian Llontop 2024-12-10 14:09:46 -05:00 committed by GitHub
parent d09f5467ea
commit e3356157d5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -383,7 +383,7 @@ import type { Hook, HookContext, EvaluationDetails, FlagValue } from "@openfeatu
export class MyHook implements Hook { export class MyHook implements Hook {
after(hookContext: HookContext, evaluationDetails: EvaluationDetails<FlagValue>) { 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
} }
} }
``` ```