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

Link @types packages from the node_modules of other linked dependencies #45

Open
aleclarson opened this issue May 9, 2021 · 0 comments
Labels
enhancement New feature or request priority:high

Comments

@aleclarson
Copy link
Collaborator

Let's say I have a local react-native clone (RN), which has @types/react installed.

Then, I have a package A that is linked to RN. Even if it has its own node_modules/@types/react package, it might get TS2742 errors about a dependency on the @types/react of RN, which is "non portable".

To fix this, Indo can search linked dependencies (like RN) for node_modules/@types packages and link them into the node_modules of the dependent package A.

But @types packages in devDependencies should probably not be linked.

@aleclarson aleclarson added enhancement New feature or request priority:high labels May 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request priority:high
Projects
None yet
Development

No branches or pull requests

1 participant