diff --git a/src/rolls/check-factory.ts b/src/rolls/check-factory.ts index e020880d..dd475d6c 100644 --- a/src/rolls/check-factory.ts +++ b/src/rolls/check-factory.ts @@ -12,8 +12,7 @@ class DefaultCheckOptions implements DS4CheckFactoryOptions { readonly maximumCoupResult = 1; readonly minimumFumbleResult = 20; readonly useSlayingDice = false; - // TODO: Use the type `keyof CONFIG.Dice.rollModes` instead as soon as https://github.com/League-of-Foundry-Developers/foundry-vtt-types/issues/1501 has been resolved. - readonly rollMode: foundry.CONST.DICE_ROLL_MODES = "publicroll"; + readonly rollMode: keyof CONFIG.Dice.RollModes = "publicroll"; readonly flavor: undefined; mergeWith(other: Partial): DS4CheckFactoryOptions { @@ -198,7 +197,7 @@ function parseDialogFormData(formData: HTMLFormElement): Partial; speaker?: ReturnType;