feat: add content typing
This commit is contained in:
10
types/content/index.ts
Normal file
10
types/content/index.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
import { IContentDocument } from '@nuxt/content/types/content'
|
||||
|
||||
export interface INavLink {
|
||||
category: string,
|
||||
contentDocuments: IContentDocument[]
|
||||
}
|
||||
|
||||
export interface ILink {
|
||||
[key: string]: IContentDocument[]
|
||||
}
|
||||
Reference in New Issue
Block a user