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

TS type errors #337

Open
danchitnis opened this issue Oct 15, 2024 · 2 comments
Open

TS type errors #337

danchitnis opened this issue Oct 15, 2024 · 2 comments
Labels

Comments

@danchitnis
Copy link

Hello, I have been using FocusLock for a while here. Recently, I have been changing my workflow to Deno 2.0.0. I am getting type check errors:

JSX element type 'FocusLock' does not have any construct or call signatures.deno-ts(2604)

and

'FocusLock' cannot be used as a JSX component.
  Its type 'typeof import("file:///E:/Code/EEsim/node_modules/.deno/[email protected]/node_modules/react-focus-lock/dist/cjs/index")' is not a valid JSX element type.deno-ts(2786)

I am not sure if this is Deno related or has happened in a recent update. Also, functionally, the focus lock doesn't seem to work on the UI element.

@theKashey
Copy link
Owner

Absolutely not sure what Deno want's but likely any typescript error that could be fixed will be fixed by TS migration (#334)

Copy link

stale bot commented Dec 23, 2024

This issue has been marked as "stale" because there has been no activity for 2 months. If you have any new information or would like to continue the discussion, please feel free to do so. If this issue got buried among other tasks, maybe this message will reignite the conversation. Otherwise, this issue will be closed in 7 days. Thank you for your contributions so far.

@stale stale bot added the state label Dec 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants