Skip to content
This repository has been archived by the owner on Dec 6, 2023. It is now read-only.

Typescript + Reactotron + Flipper #492

Open
StagasaurusRex opened this issue Aug 9, 2020 · 2 comments
Open

Typescript + Reactotron + Flipper #492

StagasaurusRex opened this issue Aug 9, 2020 · 2 comments

Comments

@StagasaurusRex
Copy link

I am getting an error trying to add Reactotron + Flipper w/ typescript.

Could not find a declaration file for module 'reactotron-react-native/dist/flipper'.

image

It seems like types are available in reactotron-react-native/dist/types/FlipperConnectionManager, but they're not found.

Is there any easy fix on my side or is this something the library needs to fix?

@pcarollo84
Copy link

I have the same issue. Did you find a way to fix it @StagasaurusRex ?
With this configuration I can't make it work on Flipper as plugin. It only works with the standalone app.

@StagasaurusRex
Copy link
Author

Not really. I just added // @ts-ignore before that line. That causes an issue with my linter, but at least it works

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants