chore: cleanup const typecast

This commit is contained in:
Saad A. Bazaz 2024-07-16 00:03:28 +05:00
parent cef2dd4cf9
commit b2bdd93d63

View File

@ -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;