typescript catch error any.

This commit is contained in:
Miroslav Šedivý 2021-08-31 18:25:06 +02:00
parent 81006e02ed
commit 9be75c20ca
5 changed files with 7 additions and 7 deletions

View file

@ -154,7 +154,7 @@
context: 'github/gollum',
})
this.$accessor.client.setAbout(res2.data)
} catch (err) {
} catch (err: any) {
console.error(err)
} finally {
this.loading = false

View file

@ -490,7 +490,7 @@
try {
await this._video.play()
this.onResise()
} catch (err) {
} catch (err: any) {
this.$log.error(err)
}
}
@ -577,7 +577,7 @@
this.$accessor.remote.setClipboard(text)
this.$accessor.remote.sendClipboard(text)
}
} catch (err) {
} catch (err: any) {
this.$log.error(err)
}
}