fix(build,types): migrate smart config filename and tighten TypeScript null handling

This commit is contained in:
2026-03-27 16:32:24 +00:00
parent 61751cd320
commit 6375674e1c
8 changed files with 3243 additions and 5989 deletions

View File

@@ -155,13 +155,13 @@ export class Keyboard {
}
public startListening() {
this.domNode.addEventListener('keydown', this.handleKeyDown);
this.domNode.addEventListener('keyup', this.handleKeyUp);
this.domNode.addEventListener('keydown', this.handleKeyDown as EventListener);
this.domNode.addEventListener('keyup', this.handleKeyUp as EventListener);
}
public stopListening() {
this.domNode.removeEventListener('keydown', this.handleKeyDown);
this.domNode.removeEventListener('keyup', this.handleKeyUp);
this.domNode.removeEventListener('keydown', this.handleKeyDown as EventListener);
this.domNode.removeEventListener('keyup', this.handleKeyUp as EventListener);
}
public clear() {