From 50b90f8f1ba78d980ddefde0420b6b6cb3ac59fd Mon Sep 17 00:00:00 2001 From: Mario Pizzinini Date: Tue, 15 Jun 2021 11:34:37 +0200 Subject: [PATCH 1/3] Add attribute definition spellCheck to HTMLAttributes --- src/jsx.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/jsx.d.ts b/src/jsx.d.ts index 78ec06b5d9..86cef103ff 100644 --- a/src/jsx.d.ts +++ b/src/jsx.d.ts @@ -733,6 +733,7 @@ export namespace JSXInternal { slot?: string; span?: number; spellcheck?: boolean; + spellCheck?: boolean; src?: string; srcset?: string; srcDoc?: string; From 51d607c7e721c8bea952af3df9a52327ee85cb8c Mon Sep 17 00:00:00 2001 From: Mario Pizzinini Date: Tue, 15 Jun 2021 11:34:45 +0200 Subject: [PATCH 2/3] Add attribute definition autoCapitalize to HTMLAttributes --- src/jsx.d.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/jsx.d.ts b/src/jsx.d.ts index 86cef103ff..dfcc8ca6dd 100644 --- a/src/jsx.d.ts +++ b/src/jsx.d.ts @@ -754,6 +754,10 @@ export namespace JSXInternal { wmode?: string; wrap?: string; + // Non-standard Attributes + autocapitalize?: string; + autoCapitalize?: string; + // RDFa Attributes about?: string; datatype?: string; From 9fc9de2a8463daebf5b01bb94e5a092b798df274 Mon Sep 17 00:00:00 2001 From: Crafted Systems <26137287+craftedsystems@users.noreply.github.com> Date: Tue, 15 Jun 2021 22:00:38 +0200 Subject: [PATCH 3/3] Add valid value options Co-authored-by: Ryan Christian <33403762+rschristian@users.noreply.github.com> --- src/jsx.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/jsx.d.ts b/src/jsx.d.ts index dfcc8ca6dd..e70cb88592 100644 --- a/src/jsx.d.ts +++ b/src/jsx.d.ts @@ -755,8 +755,8 @@ export namespace JSXInternal { wrap?: string; // Non-standard Attributes - autocapitalize?: string; - autoCapitalize?: string; + autocapitalize?: 'off' | 'none' | 'on' | 'sentences' | 'words' | 'characters'; + autoCapitalize?: 'off' | 'none' | 'on' | 'sentences' | 'words' | 'characters'; // RDFa Attributes about?: string;