File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
packages/async-storage/src Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ export interface AsyncStorage {
5151 * Retrieves all keys currently stored.
5252 * @returns A Promise resolving to an array of keys.
5353 */
54- getKeys ( ) : Promise < string [ ] > ;
54+ getAllKeys ( ) : Promise < string [ ] > ;
5555
5656 /**
5757 * Clears all data from the storage.
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ class AsyncStorageImpl implements AsyncStorage {
4545 removeMany = async ( keys : string [ ] ) : Promise < void > =>
4646 this . db . removeValues ( this . dbName , keys ) ;
4747
48- getKeys = ( ) : Promise < string [ ] > => this . db . getKeys ( this . dbName ) ;
48+ getAllKeys = ( ) : Promise < string [ ] > => this . db . getKeys ( this . dbName ) ;
4949
5050 clear = ( ) : Promise < void > => this . db . clearStorage ( this . dbName ) ;
5151}
You can’t perform that action at this time.
0 commit comments