diff --git a/packages/docusaurus-plugin-content-blog/src/plugin-content-blog.d.ts b/packages/docusaurus-plugin-content-blog/src/plugin-content-blog.d.ts index a4694dc84728..b369cd978644 100644 --- a/packages/docusaurus-plugin-content-blog/src/plugin-content-blog.d.ts +++ b/packages/docusaurus-plugin-content-blog/src/plugin-content-blog.d.ts @@ -416,14 +416,20 @@ declare module '@docusaurus/plugin-content-blog' { */ export type UserFeedOptions = Overwrite< Partial, - {type?: FeedOptions['type'] | 'all' | FeedType} + { + /** Type of feed to be generated. Use `null` to disable generation. */ + type?: FeedOptions['type'] | 'all' | FeedType; + } >; /** * Options as provided in the user config (before normalization) */ export type Options = Overwrite< Partial, - {feedOptions?: UserFeedOptions} + { + /** Blog feed. */ + feedOptions?: UserFeedOptions; + } >; export type TagModule = { @@ -437,10 +443,9 @@ declare module '@docusaurus/plugin-content-blog' { allTagsPath: string; }; - export type BlogSidebarItem = {title: string; permalink: string}; export type BlogSidebar = { title: string; - items: BlogSidebarItem[]; + items: {title: string; permalink: string}[]; }; }