diff --git a/src/module/rolls/roll.ts b/src/module/rolls/roll.ts index 27d4f01..22ec0cd 100644 --- a/src/module/rolls/roll.ts +++ b/src/module/rolls/roll.ts @@ -39,6 +39,6 @@ export class DS4Roll = Record }; // Render the roll display template - return (renderTemplate(chatOptions.template ?? "", chatData) as unknown) as HTMLElement; // TODO(types): Make this cast unnecessary by fixing upstream + return (renderTemplate(chatOptions.template ?? "", chatData) as unknown) as Promise; // TODO(types): Make this cast unnecessary by fixing upstream } }