fix: remove TS type annotation from page.evaluate (browser context)

Set<string>() in page.evaluate causes __name ReferenceError in browser.
Use untyped Set() since browser JS doesn't support TS generics.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
snomiao
2026-03-27 01:55:46 +00:00
parent 6c284c00eb
commit 9e16b16c55

View File

@@ -1631,7 +1631,7 @@ async function launchSessionAndLogin(
whiteSpace: 'nowrap'
})
document.body.appendChild(hud)
const held = new Set<string>()
const held = new Set()
const update = () => {
if (held.size === 0) {
hud.style.display = 'none'