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:
parent
d09f5467ea
commit
e3356157d5
|
|
@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue