Skip to content

Commit

Permalink
Update any to unkown
Browse files Browse the repository at this point in the history
  • Loading branch information
ElishaSamPeterPrabhu committed Aug 29, 2024
1 parent 7f02b3a commit 28a882c
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -140,10 +140,12 @@ export class ModusTableCellMain {

if (key === 'tab' && isCellEditable) {
this.editMode = !this.editMode;
const nextCell = this.cellEl.nextElementSibling?.querySelector('modus-table-cell-main') as any;
const nextCell = this.cellEl.nextElementSibling?.querySelector(
'modus-table-cell-main'
) as unknown as ModusTableCellMain;
if (nextCell) {
nextCell.editMode = true;
nextCell.focus();
(nextCell as unknown as HTMLElement).focus();
}
event.preventDefault();
}
Expand Down

0 comments on commit 28a882c

Please sign in to comment.