TS2604

Component 'Content' is not a valid component. If this is a Svelte or Vue component, it might have a syntax error that makes it impossible to parse.

Broken Code ❌

index.astro
---
const { post } = Astro.props;
const { Content } = post;
---
 
<div>
  <Content />
</div>

Fixed Code ✔️

When running into issues with Astro Components, make sure that your .astro/types.d.ts file is recent by running astro build. Also ensure that the src/env.d.ts file is loaded correctly to wire up the astro/client typings.