From fe0f9e6130e90700b232b095c7ac04d56ce29fce Mon Sep 17 00:00:00 2001 From: Viktor Belokhvostov Date: Wed, 31 Jul 2024 16:37:43 +0100 Subject: [PATCH] Added the AriaRole type export --- src/jsx.d.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/jsx.d.ts b/src/jsx.d.ts index 2b2d15f750..6e53735ba2 100644 --- a/src/jsx.d.ts +++ b/src/jsx.d.ts @@ -1997,7 +1997,7 @@ export namespace JSXInternal { } // All the WAI-ARIA 1.2 role attribute values from https://www.w3.org/TR/wai-aria-1.2/#role_definitions - type WAIAriaRole = + export type WAIAriaRole = | 'alert' | 'alertdialog' | 'application' @@ -2095,7 +2095,7 @@ export namespace JSXInternal { | 'none presentation'; // All the Digital Publishing WAI-ARIA 1.0 role attribute values from https://www.w3.org/TR/dpub-aria-1.0/#role_definitions - type DPubAriaRole = + export type DPubAriaRole = | 'doc-abstract' | 'doc-acknowledgments' | 'doc-afterword' @@ -2136,7 +2136,7 @@ export namespace JSXInternal { | 'doc-tip' | 'doc-toc'; - type AriaRole = WAIAriaRole | DPubAriaRole; + export type AriaRole = WAIAriaRole | DPubAriaRole; export interface HTMLAttributes extends ClassAttributes,