We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a8a318a commit c9140fbCopy full SHA for c9140fb
1 file changed
packages/node-sdk/src/client.ts
@@ -363,14 +363,14 @@ export class BucketClient {
363
};
364
365
if (this._config.cacheStrategy === "periodically-update") {
366
- this.featuresCache = periodicallyUpdatingCache<CachedFeatureDefinitions>(
+ this.featuresCache = periodicallyUpdatingCache<CachedFeatureDefinition[]>(
367
this._config.refetchInterval,
368
this._config.staleWarningInterval,
369
this.logger,
370
fetchFeatures,
371
);
372
} else {
373
- this.featuresCache = inRequestCache<CachedFeatureDefinitions>(
+ this.featuresCache = inRequestCache<CachedFeatureDefinition[]>(
374
375
376
0 commit comments