File tree Expand file tree Collapse file tree 4 files changed +15
-14
lines changed
packages/default-storage/example/examples Expand file tree Collapse file tree 4 files changed +15
-14
lines changed Original file line number Diff line number Diff line change 4040 "@react-native/js-polyfills" : " ^0.75.0" ,
4141 "@react-native/normalize-colors" : " ^0.75.0" ,
4242 "@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"
4544 },
4645 "workspaces" : [
4746 " packages/api" ,
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ import {
1010 TurboModuleRegistry ,
1111 View ,
1212} from "react-native" ;
13+ import type { AsyncStorageTestSupport } from "./types" ;
1314import type { TestStep , TestValue } from "./tests" ;
1415import tests from "./tests" ;
1516
@@ -129,14 +130,6 @@ function Functional(): JSX.Element {
129130 }
130131 } )
131132 . 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-
140133 const AsyncStorageTestSupport = TurboModuleRegistry . get < AsyncStorageTestSupport > ( "AsyncStorageTestSupport" )
141134
142135 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:
2035520355 languageName: node
2035620356 linkType: hard
2035720357
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 "
2036120361 dependencies:
2036220362 "@babel/runtime": "npm:^7.0.0"
2036320363 "@jest/create-cache-key-function": "npm:^29.6.3"
@@ -20407,7 +20407,7 @@ __metadata:
2040720407 "@types/react": ^18.2.6
2040820408 react: ^18.2.0
2040920409 react-native: ^0.75.3
20410- checksum: 10c0/4de9bacbd4c9a5ae2c1e1e8219f6becc95a078dabf0e4582ad35c3e1ba5303cc8ff41a47d4e6b89b8f32a88f7218dee678a21dafa87eb5957bf9630f03488d8f
20410+ checksum: 10c0/f2010e01deafbaaf763b451d730eed2c05847d530310ee11e0792d38745223aa36f77c3edfa43bb60c5813bfbd62c85346e6697dbb1b77c8cb1418f336b7861d
2041120411 languageName: node
2041220412 linkType: hard
2041320413
You can’t perform that action at this time.
0 commit comments