Skip to content
This repository was archived by the owner on Feb 25, 2020. It is now read-only.

Commit 73d0f4f

Browse files
committed
fix: fix wrong type for navigator. closes #324
1 parent df60455 commit 73d0f4f

File tree

3 files changed

+2
-73
lines changed

3 files changed

+2
-73
lines changed

src/navigators/createStackNavigator.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ function createStackNavigator(
2828
const router = StackRouter(routeConfigMap, stackConfig);
2929

3030
return createNavigator(
31+
// TODO: don't have time to fix it right now
32+
// @ts-ignore
3133
navigatorProps => <StackView {...navigatorProps} />,
3234
router,
3335
stackConfig

types/@react-navigation/core.d.ts

Lines changed: 0 additions & 43 deletions
This file was deleted.

types/@react-navigation/native.d.ts

Lines changed: 0 additions & 30 deletions
This file was deleted.

0 commit comments

Comments
 (0)