From 073913ba0ba50705aa892f3f0dc4d2c6c48de118 Mon Sep 17 00:00:00 2001 From: Nate Moore Date: Thu, 21 Jul 2022 16:43:52 -0500 Subject: [PATCH] chore: update types for `*.html` --- packages/astro/client.d.ts | 6 ++++++ 1 file changed, 6 insertions(+) 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 };