Skip to content

Commit

Permalink
chore: cleanup const typecast
Browse files Browse the repository at this point in the history
  • Loading branch information
SaadBazaz committed Jul 15, 2024
1 parent cef2dd4 commit b2bdd93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dialog/internal/dialog.ts
Original file line number Diff line number Diff line change
Expand Up @@ -564,7 +564,7 @@ export class Dialog extends dialogBaseClass {
private getFirstAndLastFocusableChildren(): [HTMLElement, HTMLElement]
| [null, null] {
if (!this.treewalker) {
return [null, null] as const;
return [null, null];
}

let firstFocusableChild: HTMLElement | null = null;
Expand Down

0 comments on commit b2bdd93

Please sign in to comment.