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
import type {PropsasSectionProps} from '../../elements/section/Section.astro'
import Section from '../../elements/section/Section.astro'
type Props = Pick<SectionProps, 'level' | 'layout'>
I've unfortunately not been able to reproduce, but thought it might still be worth sharing.
I did get the error earlier locally, but not anymore. I do however get the error in a build on CloudCannon. Might it be due to some build environments?
Were you exporting the Props type in your component locally? If yes, we are tracking an issue related to that in #554
Let me know if that's the case @silveltman
Astro Info
If this issue only occurs in one browser, which browser is a problem?
No response
Describe the Bug
I have the following component:
and get this error:
What's the expected result?
I expect it to work. Like this it does work:
also, on a single line it works:
I've unfortunately not been able to reproduce, but thought it might still be worth sharing.
I did get the error earlier locally, but not anymore. I do however get the error in a build on CloudCannon. Might it be due to some build environments?
Link to Minimal Reproducible Example
https://stackblitz.com/edit/github-m7etjv?file=src%2Fcomponents%2FSection.astro
Participation
The text was updated successfully, but these errors were encountered: