3 messages · Page 1 of 1 (latest)
I typically use type instead of interface in my projects. Does Astro care about that with regards to its components?
I.e. This:
export type Props = {
title: string,
}
const { title } = Astro.props
vs
export interface Props {
title: string;
}
const { title } = Astro.props