diff options
-rw-r--r-- | examples/framework-lit/src/pages/index.astro | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/examples/framework-lit/src/pages/index.astro b/examples/framework-lit/src/pages/index.astro index 55d051cc0..687dc34bc 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'; <MyCounter client:load /> <Lorem /> - { - /** - * 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 */} <CalcAdd num={0} /> </body> </html> |