From 018048779082f0fefdfc2963d0683cacb990a297 Mon Sep 17 00:00:00 2001 From: Matt Kane Date: Thu, 5 Dec 2024 15:19:03 +0000 Subject: [PATCH] chore: remove unused ts-expect-error directive --- packages/integrations/preact/src/static-html.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/integrations/preact/src/static-html.ts b/packages/integrations/preact/src/static-html.ts index af31848086..453e72b7f5 100644 --- a/packages/integrations/preact/src/static-html.ts +++ b/packages/integrations/preact/src/static-html.ts @@ -16,7 +16,6 @@ type Props = { const StaticHtml = ({ value, name, hydrate = true }: Props) => { if (!value) return null; const tagName = hydrate ? 'astro-slot' : 'astro-static-slot'; - // @ts-expect-error pass `name` as a prop, ignoring type errors return h(tagName, { name, dangerouslySetInnerHTML: { __html: value } }); };