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

[DevTools Bug]: Type '{}' is not assignable to type 'ReactNode' #24432

Closed
lucasaugustsof opened this issue Apr 24, 2022 · 1 comment
Closed
Labels
Resolution: Support Redirect Status: Unconfirmed A potential issue that we haven't yet confirmed as a bug

Comments

@lucasaugustsof
Copy link

Website or app

https://github.com/devnautas/happy-app

Repro steps

Creating a custom component with styled-components

image

How often does this bug happen?

Every time

DevTools package (automated)

No response

DevTools version (automated)

dwdw

Error message (automated)

Type '{}' is not assignable to type 'ReactNode'.

Error call stack (automated)

No response

Error component stack (automated)

No response

GitHub query string (automated)

No response

@lucasaugustsof lucasaugustsof added Component: Developer Tools Status: Unconfirmed A potential issue that we haven't yet confirmed as a bug Type: Bug labels Apr 24, 2022
@eps1lon
Copy link
Collaborator

eps1lon commented Apr 25, 2022

You probably have multiple versions of @types/react installed. See #24304 (comment) for more information on how to fix this.

If this doesn't help, please open a new issue in the DefinitelyTyped/DefinitelyTyped repository which hosts the types.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution: Support Redirect Status: Unconfirmed A potential issue that we haven't yet confirmed as a bug
Projects
None yet
Development

No branches or pull requests

2 participants