Dependencies of this lib break TS on other apps #34
Labels
No labels
bug
dependencies
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
openrn/react-native-logging-tools#34
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description:
When installing this library on a recent project, it install dependencies that cause typescript to goes banana. This is due to the following dependence tree:
Due to this wildcard (*), type/react install the latest version available (18.0.15), which messes up with the current project under React 17. This SO thread was what made me dig up the yarn.lock.
This issue is not coming directly from this lib, but this lib uses
@types/enzyme-adapter-react-16, which causes this issue.Temporary workaround
Update your
yarn.lockmanually to change the version of"@types/react@*"Steps To Reproduce
Expected Results
No error should appear.
Snack, code example, screenshot, or link to a repository:
Personal project at a given time before I manually downgrade my yarn.lock (access must be granted)