Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

react-navigation-stack 2.0.5 has typescript error #7023

Closed
vovkasm opened this issue Jan 5, 2020 · 0 comments
Closed

react-navigation-stack 2.0.5 has typescript error #7023

vovkasm opened this issue Jan 5, 2020 · 0 comments

Comments

@vovkasm
Copy link

vovkasm commented Jan 5, 2020

After install react-navigation-stack 2.0.5, I have this error from tsc:

node_modules/react-navigation-stack/lib/typescript/src/navigators/createStackNavigator.d.ts:1:23 - error TS2688: Cannot find type definition file for 'example/node_modules/react-navigation/typescript/react-navigation'.

1 /// <reference types="example/node_modules/react-navigation/typescript/react-navigation" />
                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

And yes, there is reference to example folder in node_modules/react-navigation-stack/lib/typescript/src/navigators/createStackNavigator.d.ts

@satya164 satya164 transferred this issue from react-navigation/stack Feb 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants