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 */}