From 6a2eeaffabed8e7bb58913e917d74211096ecae7 Mon Sep 17 00:00:00 2001 From: Nathan Brown Date: Fri, 15 Mar 2024 16:56:59 -0400 Subject: [PATCH] Add ariaDescription to interfaces Supports change to TypeScript's generated DOM ARIAMixin interface in TS 5.4. --- src/aom.ts | 1 + src/element-internals.ts | 1 + src/types.ts | 1 + 3 files changed, 3 insertions(+) diff --git a/src/aom.ts b/src/aom.ts index 91a980e..547ef89 100644 --- a/src/aom.ts +++ b/src/aom.ts @@ -11,6 +11,7 @@ export const aom: IAom = { ariaColIndexText: 'aria-colindextext', ariaColSpan: 'aria-colspan', ariaCurrent: 'aria-current', + ariaDescription: 'aria-description', ariaDisabled: 'aria-disabled', ariaExpanded: 'aria-expanded', ariaHasPopup: 'aria-haspopup', diff --git a/src/element-internals.ts b/src/element-internals.ts index 85210b0..d1f0fe9 100644 --- a/src/element-internals.ts +++ b/src/element-internals.ts @@ -37,6 +37,7 @@ export class ElementInternals implements IElementInternals { ariaColIndexText: string; ariaColSpan: string; ariaCurrent: string; + ariaDescription: string; ariaDisabled: string; ariaExpanded: string; ariaHasPopup: string; diff --git a/src/types.ts b/src/types.ts index 401fe42..e3b0274 100644 --- a/src/types.ts +++ b/src/types.ts @@ -11,6 +11,7 @@ export interface IAom { ariaColIndexText: string; ariaColSpan: string; ariaCurrent: string; + ariaDescription: string; ariaDisabled: string; ariaExpanded: string; ariaHasPopup: string;