mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-10-28 20:35:49 -04:00
add getStaticProps types
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import { buildFeed } from "../lib/helpers/build-feed";
|
||||
import type { GetServerSideProps } from "next";
|
||||
|
||||
export const getServerSideProps: GetServerSideProps = async (context) => {
|
||||
export const getServerSideProps: GetServerSideProps<Record<string, never>> = async (context) => {
|
||||
return buildFeed(context, "rss");
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user