Eric Burel @ericburel.tech · Feb 22

Which in turns prompts the need to properly type "Astro.props", seems I need to call an inference utility type InferGetStaticProps<typeof getStaticPaths>" docs.astro.build/en/guides/ty...

0 likes 1 replies

?

Replies

Eric Burel · Feb 22

Now my setup is correct and I evolve in the secure realm of type-safety, back to my component. So in Astro the JSX template and the JS code are split into two parts, but aside from that it's all alike to a React Server Component Want something fancy? The doc is translated in French 🥖👨‍🍳