Skip to content

Commit 6d010c0

Browse files
committed
Remove redundant return
1 parent 1811022 commit 6d010c0

File tree

2 files changed

+7
-9
lines changed

2 files changed

+7
-9
lines changed

packages/shared/sdk-server-edge/src/api/EdgeFeatureStore.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,6 @@ export class EdgeFeatureStore implements LDFeatureStore {
8787
/**
8888
* This method is used to retrieve the environment payload from the edge
8989
* provider. If a cache is provided, it will serve from that.
90-
*
91-
* @returns
9290
*/
9391
private async _getStorePayload(): Promise<ReturnType<typeof deserializePoll>> {
9492
let payload = this._cache?.get(this._rootKey);

packages/shared/sdk-server-edge/src/api/cache.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,18 @@
77
*/
88
export default interface Cache {
99
/**
10-
* Get a value from the cache. Returning `undefined` means the key was not found.
11-
*/
10+
* Get a value from the cache. Returning `undefined` means the key was not found.
11+
*/
1212
get(key: string): any;
1313

1414
/**
15-
* Set a value in the cache.
16-
*/
15+
* Set a value in the cache.
16+
*/
1717
set(key: string, value: any): void;
1818

1919
/**
20-
* The close method offers a way to clean up any resources used by the cache
21-
* on shutdown.
22-
*/
20+
* The close method offers a way to clean up any resources used by the cache
21+
* on shutdown.
22+
*/
2323
close(): void;
2424
}

0 commit comments

Comments
 (0)