Skip to content

Commit 77b07e1

Browse files
authored
Explicitly convert set to array
1 parent 5254568 commit 77b07e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/OnyxCache.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ class OnyxCache {
4444
* @returns {string[]}
4545
*/
4646
getAllKeys() {
47-
return [...this.storageKeys];
47+
return Array.from(this.storageKeys);
4848
}
4949

5050
/**

0 commit comments

Comments
 (0)