chore: bump typescript 7 (#15465)

This commit is contained in:
DarkSky
2026-08-11 03:09:54 +08:00
committed by GitHub
parent 0c7b20dc18
commit 6375f5ab8c
103 changed files with 1468 additions and 1065 deletions

View File

@@ -449,7 +449,6 @@ test('readonly mode', async ({ page }) => {
throw new Error('Cannot find editor');
}
// oxlint-disable-next-line typescript/no-explicit-any
(richTextA as any).inlineEditor.setReadonly(true);
});
@@ -1044,13 +1043,11 @@ test('yText should not contain \r', async ({ page }) => {
throw new Error('Cannot find test-rich-text');
}
// oxlint-disable-next-line typescript/no-explicit-any
const editor = (richText as any).inlineEditor as InlineEditor;
try {
editor.insertText({ index: 0, length: 0 }, 'abc\r');
} catch (e) {
// oxlint-disable-next-line typescript/no-explicit-any
return (e as any).message;
}
});