Improved handling of null values when entering tags frontmatter
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
import { NonEmptyArray } from "./utils.type";
|
||||
|
||||
export type TFrontmatter = {
|
||||
title: string;
|
||||
time: string;
|
||||
tags: string[] | null;
|
||||
tags: NonEmptyArray<string> | null;
|
||||
subtitle: string | null;
|
||||
summary: string | null;
|
||||
coverURL: string | null;
|
||||
|
||||
Reference in New Issue
Block a user