diff options
author | 2022-10-12 09:48:29 -0300 | |
---|---|---|
committer | 2022-10-12 09:48:29 -0300 | |
commit | f604ef6c694e88bcf2f22ce97a33bf131074326f (patch) | |
tree | c5579e65fb4c6c0ba854933998e5993137a9c0ce /examples/framework-lit/src/pages/index.astro | |
parent | 640ce72d336101ff3bc02a596373ddbf1713e5db (diff) | |
download | astro-f604ef6c694e88bcf2f22ce97a33bf131074326f.tar.gz astro-f604ef6c694e88bcf2f22ce97a33bf131074326f.tar.zst astro-f604ef6c694e88bcf2f22ce97a33bf131074326f.zip |
Run astro check on all examples in CI (#5022)
* Run astro check on all examples in CI
* Output stderr
* Build Astro before running checks
* Making things faster + colors
* Fix errors inside examples
* Add congrats message
* Revert unentional change to tsconfigs
* Remove more unneeded changes
Diffstat (limited to 'examples/framework-lit/src/pages/index.astro')
-rw-r--r-- | examples/framework-lit/src/pages/index.astro | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/examples/framework-lit/src/pages/index.astro b/examples/framework-lit/src/pages/index.astro index 4f0dbc309..d193842a0 100644 --- a/examples/framework-lit/src/pages/index.astro +++ b/examples/framework-lit/src/pages/index.astro @@ -19,6 +19,11 @@ import { MyCounter } from '../components/my-counter.js'; <h1>Test app</h1> <MyCounter client:load /> <Lorem /> - <CalcAdd num={33} /> + + {/** + * 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> |