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

Typescript test bug #29972

Closed
hosseinmd opened this issue Sep 17, 2020 · 10 comments
Closed

Typescript test bug #29972

hosseinmd opened this issue Sep 17, 2020 · 10 comments
Labels
Needs: Author Feedback Needs: Issue Template This issue does not make use of the Issue Template, and may be missing necessary information. Stale There has been a lack of activity on this issue and it may be closed soon.

Comments

@hosseinmd
Copy link

There is an error in type checking.

node_modules/@types/react-native/index.d.ts:1701:36 - error TS2694: Namespace 'React' has no exported member 'ElementRef'.  currentlyFocusedInput(): React.ElementRef<HostComponent<unknown>>;

This is likely due to an outdated version of @types/react. Try upgrading that version to last.

React Native version:

"@types/react-native": "^0.63.18"

@safaiyeh
Copy link
Contributor

Hi @hosseinmd thank you for the issue. This change is trivial, I would recommend just opening a PR for this in the repo.

I would appreciate if you can use the issue template when opening issues.

@safaiyeh safaiyeh added Needs: Issue Template This issue does not make use of the Issue Template, and may be missing necessary information. and removed Needs: Triage 🔍 labels Sep 17, 2020
@github-actions
Copy link

⚠️ Missing Required Fields
ℹ️ It looks like your issue may be missing some necessary information. GitHub provides an example template whenever a new issue is created. Could you go back and make sure to fill out the template? You may edit this issue, or close it and open a new one.

@hosseinmd
Copy link
Author

hosseinmd commented Sep 17, 2020

Sorry about the template.

@github-actions github-actions bot added Needs: Attention Issues where the author has responded to feedback. and removed Needs: Author Feedback labels Sep 17, 2020
@chrisglein
Copy link

@hosseinmd Is this still an issue with latest? What is 0.63.18? What release are you using (see list here)? Can you run the environment command?

@chrisglein chrisglein added Needs: Environment Info Please run `react-native info` and edit your issue with that command's output. and removed Needs: Attention Issues where the author has responded to feedback. labels Oct 6, 2020
@github-actions
Copy link

github-actions bot commented Oct 6, 2020

⚠️ Missing Environment Information
ℹ️ Your issue may be missing information about your development environment. You can obtain the missing information by running react-native info in a console.

@chrisglein
Copy link

Oh, missed that was the version for the types library, not react-native. Can you provide your RN version as well?

@react-native-bot react-native-bot removed the Needs: Environment Info Please run `react-native info` and edit your issue with that command's output. label Oct 6, 2020
@hosseinmd
Copy link
Author

react-native version is 63.2, but my problem is types

@github-actions github-actions bot added Needs: Attention Issues where the author has responded to feedback. and removed Needs: Author Feedback labels Oct 6, 2020
@safaiyeh
Copy link
Contributor

@hosseinmd could you check if your react version matches your types/react version

@safaiyeh safaiyeh added Needs: Author Feedback and removed Needs: Attention Issues where the author has responded to feedback. labels Oct 20, 2020
@github-actions
Copy link

github-actions bot commented Apr 5, 2023

This issue is waiting for author's feedback since 24 days. Please provide the requested feedback or this will be closed in 7 days.

@github-actions github-actions bot added the Stale There has been a lack of activity on this issue and it may be closed soon. label Apr 5, 2023
@github-actions
Copy link

This issue was closed because the author hasn't provided the requested feedback after 7 days.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs: Author Feedback Needs: Issue Template This issue does not make use of the Issue Template, and may be missing necessary information. Stale There has been a lack of activity on this issue and it may be closed soon.
Projects
None yet
Development

No branches or pull requests

4 participants