From 4c401fd6617edfe37f7048bea70c6f5daaa1b846 Mon Sep 17 00:00:00 2001 From: yasuaki640 Date: Wed, 10 Jul 2024 10:11:04 +0900 Subject: [PATCH] fix(jsx): redefine scope attribute as enum type (#3118) --- 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 66e6a829..3db6e90b 100644 --- a/src/jsx/intrinsic-elements.ts +++ b/src/jsx/intrinsic-elements.ts @@ -580,7 +580,7 @@ export namespace JSX { colspan?: number | undefined headers?: string | undefined rowspan?: number | undefined - scope?: string | undefined + scope?: 'row' | 'col' | 'rowgroup' | 'colgroup' | string | undefined abbr?: string | undefined }