react-focus-lock icon indicating copy to clipboard operation
react-focus-lock copied to clipboard

TS type errors

Open danchitnis opened this issue 1 year ago • 0 comments
trafficstars

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.

danchitnis avatar Oct 15 '24 01:10 danchitnis