File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -20,13 +20,13 @@ describe('AsyncStorage', () => {
2020 } ) ;
2121
2222 type testCases = [
23- Partial < keyof AsyncStorage < any > > ,
23+ Partial < keyof AsyncStorage < any , any > > ,
2424 Partial < keyof StorageMock > ,
2525 string
2626 ] [ ] ;
2727
2828 describe ( 'main API' , ( ) => {
29- const asyncStorage = new AsyncStorage < any > ( mockedStorage , {
29+ const asyncStorage = new AsyncStorage < any , any > ( mockedStorage , {
3030 logger : false ,
3131 errorHandler : false ,
3232 } ) ;
@@ -63,7 +63,7 @@ describe('AsyncStorage', () => {
6363 it ( 'uses logger when provided' , async ( ) => {
6464 const loggerFunc = jest . fn ( ) ;
6565
66- const as = new AsyncStorage ( mockedStorage , {
66+ const as = new AsyncStorage < any , any > ( mockedStorage , {
6767 logger : loggerFunc ,
6868 errorHandler : false ,
6969 } ) ;
@@ -81,7 +81,7 @@ describe('AsyncStorage', () => {
8181 throw error ;
8282 } ) ;
8383
84- const as = new AsyncStorage ( mockedStorage , {
84+ const as = new AsyncStorage < any , any > ( mockedStorage , {
8585 errorHandler,
8686 logger : false ,
8787 } ) ;
You can’t perform that action at this time.
0 commit comments