mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-06 04:45:37 +02:00
refactor8frontend9: anyを除去 (#16778)
This commit is contained in:
@@ -161,7 +161,11 @@ async function _fetch_() {
|
||||
},
|
||||
raw: res.data,
|
||||
};
|
||||
} catch (err: any) {
|
||||
} catch (err) {
|
||||
if (!(err instanceof Error)) {
|
||||
throw err;
|
||||
}
|
||||
|
||||
switch (err.message.toLowerCase()) {
|
||||
case 'this theme is already installed':
|
||||
errorKV.value = {
|
||||
|
||||
Reference in New Issue
Block a user