chore(types): remove unnecessary type assertions (#4336)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user