chore(types): remove unnecessary type assertions (#4336)

This commit is contained in:
webfansplz
2021-08-17 06:19:44 +08:00
committed by GitHub
parent 7c4e4514d1
commit 0627765b36
5 changed files with 5 additions and 6 deletions

View File

@@ -41,7 +41,7 @@ export function setupPuppeteer() {
page.on('console', e => {
if (e.type() === 'error') {
const err = e.args()[0] as any
const err = e.args()[0]
console.error(
`Error from Puppeteer-loaded page:\n`,
err._remoteObject.description