diff options
Diffstat (limited to 'src/utils/date.ts')
| -rw-r--r-- | src/utils/date.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utils/date.ts b/src/utils/date.ts index b919810..b8c0376 100644 --- a/src/utils/date.ts +++ b/src/utils/date.ts @@ -16,8 +16,8 @@ export function getFormattedDate( } export function collectionDateSort( - a: CollectionEntry<"post" | "note" | "micro">, - b: CollectionEntry<"post" | "note" | "micro">, + a: CollectionEntry<"post" | "micro">, + b: CollectionEntry<"post" | "micro">, ) { return b.data.publishDate.getTime() - a.data.publishDate.getTime(); } |
