Skip to content

Commit

Permalink
Add ariaDescription to interfaces
Browse files Browse the repository at this point in the history
Supports change to TypeScript's generated DOM ARIAMixin interface in TS
5.4.
  • Loading branch information
nkabrown committed Mar 15, 2024
1 parent f303390 commit 6a2eeaf
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/aom.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
1 change: 1 addition & 0 deletions src/element-internals.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ export class ElementInternals implements IElementInternals {
ariaColIndexText: string;
ariaColSpan: string;
ariaCurrent: string;
ariaDescription: string;
ariaDisabled: string;
ariaExpanded: string;
ariaHasPopup: string;
Expand Down
1 change: 1 addition & 0 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ export interface IAom {
ariaColIndexText: string;
ariaColSpan: string;
ariaCurrent: string;
ariaDescription: string;
ariaDisabled: string;
ariaExpanded: string;
ariaHasPopup: string;
Expand Down

0 comments on commit 6a2eeaf

Please sign in to comment.