@react-navigation/routers 8.0.0-alpha.12 → 8.0.0-alpha.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/typescript/src/types.d.ts +1 -1
- package/package.json +4 -4
- package/src/types.tsx +1 -1
|
@@ -25,7 +25,7 @@ export type NavigationState<ParamList extends ParamListBase = ParamListBase> = R
|
|
|
25
25
|
*/
|
|
26
26
|
routes: NavigationRoute<ParamList, keyof ParamList>[];
|
|
27
27
|
/**
|
|
28
|
-
*
|
|
28
|
+
* The type of the state, i.e., whether it's for tab, stack, drawer etc.
|
|
29
29
|
* During rehydration, the state will be discarded if type doesn't match with router type.
|
|
30
30
|
* It can also be used to detect the type of the navigator we're dealing with.
|
|
31
31
|
*/
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@react-navigation/routers",
|
|
3
3
|
"description": "Routers to help build custom navigators",
|
|
4
|
-
"version": "8.0.0-alpha.
|
|
4
|
+
"version": "8.0.0-alpha.13",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
7
7
|
"react-native",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"types": "./lib/typescript/src/index.d.ts",
|
|
22
22
|
"exports": {
|
|
23
23
|
".": {
|
|
24
|
-
"source": "./src/index.tsx",
|
|
24
|
+
"@react-navigation/source": "./src/index.tsx",
|
|
25
25
|
"types": "./lib/typescript/src/index.d.ts",
|
|
26
26
|
"default": "./lib/module/index.js"
|
|
27
27
|
},
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@jest/globals": "^29.7.0",
|
|
48
48
|
"del-cli": "^7.0.0",
|
|
49
|
-
"react-native-builder-bob": "^0.
|
|
49
|
+
"react-native-builder-bob": "^0.43.0",
|
|
50
50
|
"typescript": "^6.0.3"
|
|
51
51
|
},
|
|
52
52
|
"react-native-builder-bob": {
|
|
@@ -67,5 +67,5 @@
|
|
|
67
67
|
]
|
|
68
68
|
]
|
|
69
69
|
},
|
|
70
|
-
"gitHead": "
|
|
70
|
+
"gitHead": "b573c67e6abed9b94d9f0ee70f06df4fa4536367"
|
|
71
71
|
}
|
package/src/types.tsx
CHANGED
|
@@ -32,7 +32,7 @@ export type NavigationState<ParamList extends ParamListBase = ParamListBase> =
|
|
|
32
32
|
*/
|
|
33
33
|
routes: NavigationRoute<ParamList, keyof ParamList>[];
|
|
34
34
|
/**
|
|
35
|
-
*
|
|
35
|
+
* The type of the state, i.e., whether it's for tab, stack, drawer etc.
|
|
36
36
|
* During rehydration, the state will be discarded if type doesn't match with router type.
|
|
37
37
|
* It can also be used to detect the type of the navigator we're dealing with.
|
|
38
38
|
*/
|