diff options
author | 2022-11-08 16:11:17 -0600 | |
---|---|---|
committer | 2022-11-08 16:11:17 -0600 | |
commit | 13119162f5cb84f8ffa3bf549d0e1b0955ebcea5 (patch) | |
tree | 135eedcc464e694cc7ca7d0720155045322731d7 /examples/framework-lit/src | |
parent | dcdeca56acb6c03d4868ece51ef4611e7598e270 (diff) | |
download | astro-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.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> |