Skip to content

Commit 31420be

Browse files
committed
v1.0.6
1 parent 36ed042 commit 31420be

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-navigation-switch",
3-
"version": "1.0.5",
3+
"version": "1.0.6",
44
"description": "`createSwitchNavigator` for react-navigation >= 5",
55
"main": "node_modules/expo/AppEntry.js",
66
"types": "lib/typescript/index.d.ts",

src/index.tsx

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -215,12 +215,7 @@ type SwitchHeaderProps = {
215215
*/
216216
scene: {
217217
route: Route<string>;
218-
descriptor: Descriptor<
219-
ParamListBase,
220-
string,
221-
SwitchNavigationState<ParamListBase>,
222-
SwitchHeaderOptions
223-
>;
218+
descriptor: Descriptor<any, any, any>;
224219
};
225220
};
226221

0 commit comments

Comments
 (0)