Skip to content

Commit 28a882c

Browse files
Update any to unkown
1 parent 7f02b3a commit 28a882c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

stencil-workspace/src/components/modus-table/parts/cell/modus-table-cell-main/modus-table-cell-main.tsx

+4-2
Original file line numberDiff line numberDiff line change
@@ -140,10 +140,12 @@ export class ModusTableCellMain {
140140

141141
if (key === 'tab' && isCellEditable) {
142142
this.editMode = !this.editMode;
143-
const nextCell = this.cellEl.nextElementSibling?.querySelector('modus-table-cell-main') as any;
143+
const nextCell = this.cellEl.nextElementSibling?.querySelector(
144+
'modus-table-cell-main'
145+
) as unknown as ModusTableCellMain;
144146
if (nextCell) {
145147
nextCell.editMode = true;
146-
nextCell.focus();
148+
(nextCell as unknown as HTMLElement).focus();
147149
}
148150
event.preventDefault();
149151
}

0 commit comments

Comments
 (0)