mmomtchev/rlayers

Typescript error cannot use Component as a JSX Component

hoanganh57 opened this issue ยท 4 comments

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

Fixed by #165, 2.0.0 supports recent TypeScript versions

Fixed by #165, 2.0.0 supports recent TypeScript versions

How long the 2.0 version will be release?

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.

Fixed by #171