types: use type alias instead of empty interface for Post
This commit is contained in:
@@ -16,7 +16,7 @@ export interface PostMeta {
|
|||||||
readingTime: number
|
readingTime: number
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface Post extends PostMeta {}
|
export type Post = PostMeta
|
||||||
|
|
||||||
const getMdxFiles = cache(async () => {
|
const getMdxFiles = cache(async () => {
|
||||||
try {
|
try {
|
||||||
|
|||||||
Reference in New Issue
Block a user