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 · 1 comment
Open

TS type errors #337

danchitnis opened this issue Oct 15, 2024 · 1 comment

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)

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

No branches or pull requests

2 participants