Skip to content

Commit f64bca6

Browse files
nathan-brown-omccalebdwilliams
authored andcommitted
Add ariaDescription to interfaces
Supports change to TypeScript's generated DOM ARIAMixin interface in TS 5.4.
1 parent f303390 commit f64bca6

3 files changed

Lines changed: 3 additions & 0 deletions

File tree

src/aom.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ export const aom: IAom = {
1111
ariaColIndexText: 'aria-colindextext',
1212
ariaColSpan: 'aria-colspan',
1313
ariaCurrent: 'aria-current',
14+
ariaDescription: 'aria-description',
1415
ariaDisabled: 'aria-disabled',
1516
ariaExpanded: 'aria-expanded',
1617
ariaHasPopup: 'aria-haspopup',

src/element-internals.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ export class ElementInternals implements IElementInternals {
3737
ariaColIndexText: string;
3838
ariaColSpan: string;
3939
ariaCurrent: string;
40+
ariaDescription: string;
4041
ariaDisabled: string;
4142
ariaExpanded: string;
4243
ariaHasPopup: string;

src/types.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ export interface IAom {
1111
ariaColIndexText: string;
1212
ariaColSpan: string;
1313
ariaCurrent: string;
14+
ariaDescription: string;
1415
ariaDisabled: string;
1516
ariaExpanded: string;
1617
ariaHasPopup: string;

0 commit comments

Comments
 (0)