switched two interfaces to types
This commit is contained in:
parent
aac74b7914
commit
421305a299
|
@ -1,8 +1,8 @@
|
|||
---
|
||||
interface Props {
|
||||
type Props = {
|
||||
title: string;
|
||||
description: string;
|
||||
}
|
||||
};
|
||||
|
||||
const domain = "jhunterdeloche.com";
|
||||
const author = "J. Hunter DeLoche";
|
||||
|
|
|
@ -4,10 +4,10 @@ import Header from "@/components/Header.astro";
|
|||
import Metadata from "@/components/Metadata.astro";
|
||||
import { ViewTransitions } from "astro:transitions";
|
||||
|
||||
interface Props {
|
||||
type Props = {
|
||||
title: string;
|
||||
description: string;
|
||||
}
|
||||
};
|
||||
|
||||
const { title, description }: Props = Astro.props;
|
||||
---
|
||||
|
|
Loading…
Reference in a new issue