properly cast return type of Roll.render
This commit is contained in:
parent
f3b6ed4b7f
commit
2e5e02c89f
1 changed files with 1 additions and 1 deletions
|
@ -39,6 +39,6 @@ export class DS4Roll<D extends Record<string, unknown> = Record<string, unknown>
|
|||
};
|
||||
|
||||
// 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<HTMLElement>; // TODO(types): Make this cast unnecessary by fixing upstream
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue