summaryrefslogtreecommitdiff
path: root/examples/framework-lit/src
diff options
context:
space:
mode:
authorGravatar Nate Moore <natemoo-re@users.noreply.github.com> 2022-11-08 16:11:17 -0600
committerGravatar GitHub <noreply@github.com> 2022-11-08 16:11:17 -0600
commit13119162f5cb84f8ffa3bf549d0e1b0955ebcea5 (patch)
tree135eedcc464e694cc7ca7d0720155045322731d7 /examples/framework-lit/src
parentdcdeca56acb6c03d4868ece51ef4611e7598e270 (diff)
downloadastro-13119162f5cb84f8ffa3bf549d0e1b0955ebcea5.tar.gz
astro-13119162f5cb84f8ffa3bf549d0e1b0955ebcea5.tar.zst
astro-13119162f5cb84f8ffa3bf549d0e1b0955ebcea5.zip
fix(examples): ts-check issue (#5332)
Co-authored-by: Nate Moore <nate@astro.build>
Diffstat (limited to 'examples/framework-lit/src')
-rw-r--r--examples/framework-lit/src/pages/index.astro11
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>