Get our previously strict files a bit tighter (#604)

Now they meet noUnusedParameters
This commit is contained in:
Jordi Bunster
2021-04-27 15:27:17 -07:00
committed by GitHub
parent e8b79d6260
commit 154db1dcd5
9 changed files with 22 additions and 29 deletions

View File

@@ -23,7 +23,7 @@ export class AccessibleVerticalList {
this.onSelect = onSelect;
}
public onKeyDown = (source: any, event: KeyboardEvent): boolean => {
public onKeyDown = (_src: unknown, event: KeyboardEvent): boolean => {
const targetContainer: Element = <Element>event.target;
if (this.items == null || this.items.length === 0) {
// no items so this should be a noop