mirror of
https://github.com/m1k1o/neko.git
synced 2025-06-09 06:12:34 +02:00
typescript catch error any.
This commit is contained in:
parent
81006e02ed
commit
9be75c20ca
5 changed files with 7 additions and 7 deletions
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue