File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
packages/async-storage/src Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ class AsyncStorageImpl implements AsyncStorage {
9090
9191 clear = async ( ) : Promise < void > => {
9292 try {
93- return await this . db . clearStorage ( this . dbName ) ;
93+ await this . db . clearStorage ( this . dbName ) ;
9494 } catch ( e ) {
9595 throw AsyncStorageError . nativeError ( e ) ;
9696 }
@@ -186,7 +186,7 @@ class LegacyAsyncStorageImpl implements AsyncStorage {
186186
187187 clear = async ( ) : Promise < void > => {
188188 try {
189- return await this . db . legacy_clear ( ) ;
189+ await this . db . legacy_clear ( ) ;
190190 } catch ( e ) {
191191 throw AsyncStorageError . nativeError ( e ) ;
192192 }
Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ class AsyncStorageWebImpl implements AsyncStorage {
7676
7777 clear = async ( ) : Promise < void > => {
7878 try {
79- return await this . db . clearStorage ( ) ;
79+ await this . db . clearStorage ( ) ;
8080 } catch ( e ) {
8181 throw this . createError ( e ) ;
8282 }
You can’t perform that action at this time.
0 commit comments