mirror of
https://github.com/m1k1o/neko.git
synced 2026-11-03 08:21:50 -06:00
typescript catch error any.
This commit is contained in:
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user