From 13119162f5cb84f8ffa3bf549d0e1b0955ebcea5 Mon Sep 17 00:00:00 2001 From: Nate Moore Date: Tue, 8 Nov 2022 16:11:17 -0600 Subject: [PATCH] fix(examples): ts-check issue (#5332) Co-authored-by: Nate Moore --- examples/framework-lit/src/pages/index.astro | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/examples/framework-lit/src/pages/index.astro b/examples/framework-lit/src/pages/index.astro index 55d051cc0a..687dc34bc2 100644 --- a/examples/framework-lit/src/pages/index.astro +++ b/examples/framework-lit/src/pages/index.astro @@ -20,12 +20,11 @@ import { MyCounter } from '../components/my-counter.js'; - { - /** - * Our VS Code extension does not currently properly typecheck attributes on Lit components - * As such, the following code will result in a TypeScript error inside the editor, nonetheless, it works in Astro! - * @ts-expect-error */ - } + {/** + * Our VS Code extension does not currently properly typecheck attributes on Lit components + * As such, the following code will result in a TypeScript error inside the editor, nonetheless, it works in Astro! + */} + {/** @ts-expect-error */}