You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When following the example in the docs the app will work as expected both when run astro dev or astro build but astro check will produce an error.
Please provide the exception or error you saw
❯ npm run astro check
> bbon-poc-astro-analog@0.0.1 astro
> astro check
17:30:28 Types generated 1.30s
17:30:28 [check] Getting diagnostics for Astro files in /home/j.voigt/Workspace/bbon/bbon-poc-astro-analog...
src/pages/index.astro:21:34 - error ts(2322): Type '{ "client:visible": true; helpText: string; }' is not assignable to type 'IntrinsicAttributes'.
Property 'helpText' does not exist on type 'IntrinsicAttributes'.
21 <HelloComponent client:visible helpText="client-binding"/>
~~~~~~~~
src/pages/index.astro:18:19 - error ts(2322): Type '{ helpText: string; }' is not assignable to type 'IntrinsicAttributes'.
Property 'helpText' does not exist on type 'IntrinsicAttributes'.
18 <HelloComponent helpText={helpText} />
~~~~~~~~
src/pages/index.astro:17:19 - error ts(2322): Type '{ helpText: string; }' is not assignable to type 'IntrinsicAttributes'.
Property 'helpText' does not exist on type 'IntrinsicAttributes'.
17 <HelloComponent helpText="Template" />
~~~~~~~~
Result (4 files):
- 3 errors
- 0 warnings
- 0 hints
Other information
I only had a quick look in the example app and it seems, the astro type checking es not used....
But i have not tried what would happen if we do.
I would be willing to submit a PR to fix this issue
Yes
No
The text was updated successfully, but these errors were encountered:
Please provide the environment you discovered this bug in.
https://github.com/bringbackourneighbours/bbon-poc-astro-analog/blob/main/src/pages/index.astro
Which area/package is the issue in?
astro-angular
Description
When following the example in the docs the app will work as expected both when run
astro dev
orastro build
butastro check
will produce an error.Please provide the exception or error you saw
Other information
I only had a quick look in the example app and it seems, the astro type checking es not used....
But i have not tried what would happen if we do.
I would be willing to submit a PR to fix this issue
The text was updated successfully, but these errors were encountered: