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

Commit

Permalink
fix: fix wrong type for navigator. closes #324
Browse files Browse the repository at this point in the history
  • Loading branch information
satya164 committed Jan 2, 2020
1 parent df60455 commit 73d0f4f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 73 deletions.
2 changes: 2 additions & 0 deletions src/navigators/createStackNavigator.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ function createStackNavigator(
const router = StackRouter(routeConfigMap, stackConfig);

return createNavigator(
// TODO: don't have time to fix it right now
// @ts-ignore
navigatorProps => <StackView {...navigatorProps} />,
router,
stackConfig
Expand Down
43 changes: 0 additions & 43 deletions types/@react-navigation/core.d.ts

This file was deleted.

30 changes: 0 additions & 30 deletions types/@react-navigation/native.d.ts

This file was deleted.

0 comments on commit 73d0f4f

Please sign in to comment.