Update vtt-types and get rid of now unnecessary @ts-ignores

This commit is contained in:
Johannes Loher 2021-07-01 22:02:52 +02:00
parent 836e57347f
commit 7ca8fff910
3 changed files with 37 additions and 12 deletions

View file

@ -43,10 +43,6 @@ class CheckFactory {
);
const formula = this.options.useSlayingDice ? `{${innerFormula}}x` : innerFormula;
const roll = Roll.create(formula);
// TODO: Improve once ChatMessage is typed in upstream
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore
const speaker = ChatMessage.getSpeaker();
return roll.toMessage(