1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2026-04-19 06:55:30 -04:00

add getStaticProps types

This commit is contained in:
2022-06-30 20:56:34 -04:00
parent 5f22b7989d
commit 887c24d317
17 changed files with 67 additions and 50 deletions
+5 -1
View File
@@ -17,5 +17,9 @@ export type NoteWithSource = {
frontMatter: NoteFrontMatter;
// the final, compiled JSX by next-mdx-remote; see lib/helpers/parse-notes.ts
source: MDXRemoteSerializeResult;
source: MDXRemoteSerializeResult<Record<string, never>>;
};
export type NotesByYear = {
[year: string]: NoteFrontMatter[];
};