diff --git a/packages/astro/client.d.ts b/packages/astro/client.d.ts index cfbb65ef0e48..9ac2e176823d 100644 --- a/packages/astro/client.d.ts +++ b/packages/astro/client.d.ts @@ -1,5 +1,11 @@ /// +// HTML +declare module "*.html" { + const Component: { render(opts: { slots: Record }): string }; + export default content; +} + // CSS modules type CSSModuleClasses = { readonly [key: string]: string };