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 e521624 commit d29aec0Copy full SHA for d29aec0
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