Skip to content

Commit

Permalink
refactor: add typing for focused constant (#9471)
Browse files Browse the repository at this point in the history
  • Loading branch information
splincode authored Oct 17, 2024
1 parent 69047a3 commit 5b4b329
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion projects/addon-mobile/services/keyboard.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export class TuiKeyboardService implements OnDestroy {
}

public hide(): void {
const focused: any = tuiGetNativeFocused(this.doc);
const focused = tuiGetNativeFocused(this.doc) as HTMLInputElement;

if (focused?.inputMode === undefined || this.element) {
return;
Expand Down

0 comments on commit 5b4b329

Please sign in to comment.