fix(examples): ts-check issue (#5332)

Co-authored-by: Nate Moore <nate@astro.build>
This commit is contained in:
Nate Moore 2022-11-08 16:11:17 -06:00 committed by GitHub
parent dcdeca56ac
commit 13119162f5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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>