From 8ba02273e829318d7f8797267f52229e531b8bd5 Mon Sep 17 00:00:00 2001 From: yasuaki640 Date: Sat, 10 Aug 2024 16:27:32 +0900 Subject: [PATCH] fix(jsx): fix draggable type to accept boolean (#3253) --- src/jsx/intrinsic-elements.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jsx/intrinsic-elements.ts b/src/jsx/intrinsic-elements.ts index 0679c0f4..7e4fe127 100644 --- a/src/jsx/intrinsic-elements.ts +++ b/src/jsx/intrinsic-elements.ts @@ -154,7 +154,7 @@ export namespace JSX { contenteditable?: boolean | 'inherit' | undefined contextmenu?: string | undefined dir?: string | undefined - draggable?: 'true' | 'false' | undefined + draggable?: 'true' | 'false' | boolean | undefined enterkeyhint?: 'enter' | 'done' | 'go' | 'next' | 'previous' | 'search' | 'send' | undefined hidden?: boolean | undefined id?: string | undefined