mirror of
https://github.com/material-components/material-web.git
synced 2026-01-09 07:21:09 +08:00
chore: cleanup const typecast
This commit is contained in:
parent
cef2dd4cf9
commit
b2bdd93d63
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user