This commit is contained in:
FineArchs 2024-10-11 15:22:00 +09:00
parent fcce5b98b1
commit debf20f45c
1 changed files with 2 additions and 2 deletions

View File

@ -98,9 +98,9 @@ export default class extends Endpoint<typeof meta, typeof paramDef> { // eslint-
case undefined: return; case undefined: return;
case 'NO_SUCH_EMOJI': throw new ApiError(meta.errors.noSuchEmoji); case 'NO_SUCH_EMOJI': throw new ApiError(meta.errors.noSuchEmoji);
case 'SAME_NAME_EMOJI_EXISTS': throw new ApiError(meta.errors.sameNameEmojiExists); case 'SAME_NAME_EMOJI_EXISTS': throw new ApiError(meta.errors.sameNameEmojiExists);
// 網羅性チェック
default: const mustBeNever: never = error;
} }
// 網羅性チェック
const mustBeNever: never = error;
}); });
} }
} }