Skip to content

Commit c9140fb

Browse files
committed
cleanup
1 parent a8a318a commit c9140fb

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

packages/node-sdk/src/client.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -363,14 +363,14 @@ export class BucketClient {
363363
};
364364

365365
if (this._config.cacheStrategy === "periodically-update") {
366-
this.featuresCache = periodicallyUpdatingCache<CachedFeatureDefinitions>(
366+
this.featuresCache = periodicallyUpdatingCache<CachedFeatureDefinition[]>(
367367
this._config.refetchInterval,
368368
this._config.staleWarningInterval,
369369
this.logger,
370370
fetchFeatures,
371371
);
372372
} else {
373-
this.featuresCache = inRequestCache<CachedFeatureDefinitions>(
373+
this.featuresCache = inRequestCache<CachedFeatureDefinition[]>(
374374
this._config.refetchInterval,
375375
this.logger,
376376
fetchFeatures,

0 commit comments

Comments
 (0)