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 error cannot use Component as a JSX Component #169

Closed
hoanganh57 opened this issue Jul 14, 2023 · 4 comments · Fixed by #171
Closed

Typescript error cannot use Component as a JSX Component #169

hoanganh57 opened this issue Jul 14, 2023 · 4 comments · Fixed by #171

Comments

@hoanganh57
Copy link

hoanganh57 commented Jul 14, 2023

image
When i use component like picture, this error in VSCode but code run without error. When i build, same error and cannot build
Update: I found the cause, typescript version 5.1.3 and higher versions build error

@mmomtchev
Copy link
Owner

Fixed by #165, 2.0.0 supports recent TypeScript versions

@hoanganh57
Copy link
Author

Fixed by #165, 2.0.0 supports recent TypeScript versions

How long the 2.0 version will be release?

@mmomtchev
Copy link
Owner

There is a release available by installing rlayers@next. There hasn't been any problems reported, so it will probably get re-released as 2.0.0.

@mmomtchev
Copy link
Owner

Fixed by #171

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

Successfully merging a pull request may close this issue.

2 participants