Improved handling of null values when entering tags frontmatter

This commit is contained in:
PrinOrange
2024-01-06 20:20:05 +08:00
parent fb308f7b11
commit eac42b69a7
8 changed files with 61 additions and 15 deletions

1
types/utils.type.ts Normal file
View File

@@ -0,0 +1 @@
export type NonEmptyArray<T> = [T, ...T[]];