mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
typescript catch error any.
This commit is contained in:
@ -66,7 +66,7 @@ export const actions = actionTree(
|
||||
}
|
||||
accessor.emoji.setList(req.data.list)
|
||||
accessor.emoji.setKeywords(req.data.keywords)
|
||||
} catch (err) {
|
||||
} catch (err: any) {
|
||||
console.error(err)
|
||||
}
|
||||
},
|
||||
|
@ -74,7 +74,7 @@ export const actions = actionTree(
|
||||
try {
|
||||
const req = await $http.get<KeyboardLayouts>('keyboard_layouts.json')
|
||||
accessor.settings.setKeyboardLayoutsList(req.data)
|
||||
} catch (err) {
|
||||
} catch (err: any) {
|
||||
console.error(err)
|
||||
}
|
||||
},
|
||||
|
Reference in New Issue
Block a user