File tree 4 files changed +15
-14
lines changed
packages/default-storage/example/examples
4 files changed +15
-14
lines changed Original file line number Diff line number Diff line change 40
40
"@react-native/js-polyfills" : " ^0.75.0" ,
41
41
"@react-native/normalize-colors" : " ^0.75.0" ,
42
42
"@react-native/virtualized-lists" : " ^0.75.0" ,
43
- "find-babel-config/json5" : " ^2.1.1" ,
44
- "react-native-windows" : " ^0.75.5"
43
+ "find-babel-config/json5" : " ^2.1.1"
45
44
},
46
45
"workspaces" : [
47
46
" packages/api" ,
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ import {
10
10
TurboModuleRegistry ,
11
11
View ,
12
12
} from "react-native" ;
13
+ import type { AsyncStorageTestSupport } from "./types" ;
13
14
import type { TestStep , TestValue } from "./tests" ;
14
15
import tests from "./tests" ;
15
16
@@ -129,14 +130,6 @@ function Functional(): JSX.Element {
129
130
}
130
131
} )
131
132
. then ( async ( ) => {
132
- type AsyncStorageDelegate = ( value : boolean ) => void ;
133
-
134
- type AsyncStorageTestSupport = {
135
- test_setDelegate : ( delegate : AsyncStorageDelegate ) => void ;
136
- test_unsetDelegate : ( delegate : AsyncStorageDelegate ) => void ;
137
- getConstants ( ) : object ;
138
- } ;
139
-
140
133
const AsyncStorageTestSupport = TurboModuleRegistry . get < AsyncStorageTestSupport > ( "AsyncStorageTestSupport" )
141
134
142
135
for ( const [ currentName , test ] of Object . entries ( tests ) ) {
Original file line number Diff line number Diff line change
1
+ import type { TurboModule } from "react-native" ;
2
+
3
+ type AsyncStorageDelegate = ( value : boolean ) => void ;
4
+
5
+ export type AsyncStorageTestSupport = TurboModule & {
6
+ test_setDelegate : ( delegate : AsyncStorageDelegate ) => void ;
7
+ test_unsetDelegate : ( delegate : AsyncStorageDelegate ) => void ;
8
+ getConstants ( ) : object ;
9
+ }
Original file line number Diff line number Diff line change @@ -20355,9 +20355,9 @@ __metadata:
20355
20355
languageName: node
20356
20356
linkType: hard
20357
20357
20358
- "react-native-windows@npm:^0.75.5 ":
20359
- version: 0.75.5
20360
- resolution: "react-native-windows@npm:0.75.5 "
20358
+ "react-native-windows@npm:^0.75.0 ":
20359
+ version: 0.75.6
20360
+ resolution: "react-native-windows@npm:0.75.6 "
20361
20361
dependencies:
20362
20362
"@babel/runtime": "npm:^7.0.0"
20363
20363
"@jest/create-cache-key-function": "npm:^29.6.3"
@@ -20407,7 +20407,7 @@ __metadata:
20407
20407
"@types/react": ^18.2.6
20408
20408
react: ^18.2.0
20409
20409
react-native: ^0.75.3
20410
- checksum: 10c0/4de9bacbd4c9a5ae2c1e1e8219f6becc95a078dabf0e4582ad35c3e1ba5303cc8ff41a47d4e6b89b8f32a88f7218dee678a21dafa87eb5957bf9630f03488d8f
20410
+ checksum: 10c0/f2010e01deafbaaf763b451d730eed2c05847d530310ee11e0792d38745223aa36f77c3edfa43bb60c5813bfbd62c85346e6697dbb1b77c8cb1418f336b7861d
20411
20411
languageName: node
20412
20412
linkType: hard
20413
20413
You can’t perform that action at this time.
0 commit comments