lint
This commit is contained in:
parent
fcce5b98b1
commit
debf20f45c
|
@ -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;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue