fix(examples): ts-check issue (#5332)
Co-authored-by: Nate Moore <nate@astro.build>
This commit is contained in:
parent
dcdeca56ac
commit
13119162f5
1 changed files with 5 additions and 6 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue