We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e3b8b4f commit 1b949eaCopy full SHA for 1b949ea
libs/hooks/debounce/src/lib/debounce-hook.ts
@@ -111,7 +111,7 @@ export class DebounceHook<T extends FlagValue = FlagValue> implements Hook {
111
private readonly innerHook: Hook,
112
private readonly options: Options<T>,
113
) {
114
- this.cacheErrors = options.cacheErrors || false;
+ this.cacheErrors = options.cacheErrors ?? false;
115
this.cache = new FixedSizeExpiringCache<true | CachedError>({
116
maxItems: options.maxCacheItems,
117
ttlMs: options.debounceTime,
0 commit comments