From 0c06dfafa2e1e2fd6eccef306cc8aeb05bab4eb3 Mon Sep 17 00:00:00 2001 From: kaine Date: Fri, 25 Aug 2023 11:11:11 +0800 Subject: [PATCH] types(runtime-dom): update aria-relevant type --- packages/runtime-dom/src/jsx.ts | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/packages/runtime-dom/src/jsx.ts b/packages/runtime-dom/src/jsx.ts index d3c0332c7c3..5771027d01e 100644 --- a/packages/runtime-dom/src/jsx.ts +++ b/packages/runtime-dom/src/jsx.ts @@ -188,7 +188,17 @@ interface AriaAttributes { * Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified. * @see aria-atomic. */ - 'aria-relevant'?: 'additions' | 'additions text' | 'all' | 'removals' | 'text' + 'aria-relevant'?: + | 'additions' + | 'additions removals' + | 'additions text' + | 'all' + | 'removals' + | 'removals additions' + | 'removals text' + | 'text' + | 'text additions' + | 'text removals' /** Indicates that user input is required on the element before a form may be submitted. */ 'aria-required'?: Booleanish /** Defines a human-readable, author-localized description for the role of an element. */