Upgrade TypeScript to 5.9 (#30433)

GitOrigin-RevId: 7b11f258c0188f69fabd8fd0da709e0979fc8a4a
This commit is contained in:
Alf Eaton
2026-01-09 09:06:33 +00:00
committed by Copybot
parent 3986bae603
commit d1db34bcf0
5 changed files with 150 additions and 561 deletions
@@ -813,7 +813,7 @@ test test test</p>
it('treats a pasted image as a figure even if there is HTML', function () {
mountEditor()
cy.fixture<Uint8Array>('images/gradient.png').then(image => {
cy.fixture<ArrayBuffer>('images/gradient.png').then(image => {
const file = new File([image], 'gradient.png', { type: 'image/png' })
const html = `<meta charset="utf-8"><img src="https://example.com/gradient.png" alt="gradient">`
@@ -830,7 +830,7 @@ test test test</p>
it('does not treat a pasted image as a figure if there is Office HTML', function () {
mountEditor()
cy.fixture<Uint8Array>('images/gradient.png').then(image => {
cy.fixture<ArrayBuffer>('images/gradient.png').then(image => {
const file = new File([image], 'gradient.png', { type: 'image/png' })
const html = `<meta charset="utf-8"><meta name="ProgId" content="MS.Word"><img src="https://example.com/gradient.png" alt="gradient">`