File tree 3 files changed +10
-6
lines changed
packages/default-storage/example/examples
3 files changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -130,7 +130,10 @@ function Functional(): JSX.Element {
130
130
}
131
131
} )
132
132
. then ( async ( ) => {
133
- const AsyncStorageTestSupport = TurboModuleRegistry . get < AsyncStorageTestSupport > ( "AsyncStorageTestSupport" )
133
+ const AsyncStorageTestSupport =
134
+ TurboModuleRegistry . get < AsyncStorageTestSupport > (
135
+ "AsyncStorageTestSupport"
136
+ ) ;
134
137
135
138
for ( const [ currentName , test ] of Object . entries ( tests ) ) {
136
139
const name = currentName + " with delegate" ;
Original file line number Diff line number Diff line change @@ -110,7 +110,8 @@ function Merge(): JSX.Element {
110
110
getConstants ( ) : object ;
111
111
} ;
112
112
113
- const AsyncStorageTestSupport = TurboModuleRegistry . get < AsyncStorageTestSupport > ( "AsyncStorageTestSupport" )
113
+ const AsyncStorageTestSupport =
114
+ TurboModuleRegistry . get < AsyncStorageTestSupport > ( "AsyncStorageTestSupport" ) ;
114
115
115
116
return (
116
117
< View >
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import type { TurboModule } from "react-native";
3
3
type AsyncStorageDelegate = ( value : boolean ) => void ;
4
4
5
5
export type AsyncStorageTestSupport = TurboModule & {
6
- test_setDelegate : ( delegate : AsyncStorageDelegate ) => void ;
7
- test_unsetDelegate : ( delegate : AsyncStorageDelegate ) => void ;
8
- getConstants ( ) : object ;
9
- }
6
+ test_setDelegate : ( delegate : AsyncStorageDelegate ) => void ;
7
+ test_unsetDelegate : ( delegate : AsyncStorageDelegate ) => void ;
8
+ getConstants ( ) : object ;
9
+ } ;
You can’t perform that action at this time.
0 commit comments