You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if you add draggable=true it renders correctly, but compiler complains
if you add draggable compiler doesn't complain, but renders without our attribute, so you can't drag
if you add draggable={true} similarly as above
What do you see instead?
TS2322 [ERROR]: Type 'string' is not assignable to type 'boolean | undefined'. draggable="true" ~~~~~~~~~ at file:///home/karol/projects/pliker.net/repliker/client/dg/forms/available_properties.tsx:29:11 The expected type comes from property 'draggable' which is declared here on type 'HTMLAttributes' draggable?: boolean | undefined; ~~~~~~~~~ at https://jsr.io/@hono/hono/4.5.1/src/jsx/intrinsic-elements.ts:155:5
Additional information
No response
The text was updated successfully, but these errors were encountered:
What version of Hono are you using?
4.5.1
What runtime/platform is your app running on?
Deno
What steps can reproduce the bug?
try to return a div with 'draggable` attribute
What is the expected behavior?
it should be possible to add draggable attribute:
draggable=true
it renders correctly, but compiler complainsdraggable
compiler doesn't complain, but renders without our attribute, so you can't dragdraggable={true}
similarly as aboveWhat do you see instead?
Additional information
No response
The text was updated successfully, but these errors were encountered: