diff --git a/packages/html/types/index.d.ts b/packages/html/types/index.d.ts index 715e9a03c..0b73a54f6 100644 --- a/packages/html/types/index.d.ts +++ b/packages/html/types/index.d.ts @@ -15,7 +15,7 @@ export interface RollupHtmlOptions { fileName?: string; meta?: Record[]; publicPath?: string; - template?: (templateoptions: RollupHtmlTemplateOptions) => string; + template?: (templateoptions: RollupHtmlTemplateOptions) => string | Promise; } export function makeHtmlAttributes(attributes: Record): string;