You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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 toRN
. Even if it has its ownnode_modules/@types/react
package, it might get TS2742 errors about a dependency on the@types/react
ofRN
, which is "non portable".To fix this, Indo can search linked dependencies (like
RN
) fornode_modules/@types
packages and link them into the node_modules of the dependent packageA
.But
@types
packages indevDependencies
should probably not be linked.The text was updated successfully, but these errors were encountered: