Skip to content

Commit 47789bc

Browse files
Update libs/hooks/debounce/README.md
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> Signed-off-by: Todd Baert <[email protected]>
1 parent b4e5b0f commit 47789bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libs/hooks/debounce/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ In the example below, we wrap a logging hook so that it only logs a maximum of o
2727

2828
```ts
2929
// a function defining the key for the hook stage
30-
const supplier = (flagKey: string, context: EvaluationContext, details: EvaluationDetails<T>) => flagKey;
30+
const supplier = (flagKey: string, context: EvaluationContext, details: EvaluationDetails<string>) => flagKey;
3131

3232
const hook = new DebounceHook<string>(loggingHook, {
3333
afterCacheKeySupplier: supplier, // if the key calculated by the supplier exists in the cache, the wrapped hook's stage will not run

0 commit comments

Comments
 (0)