Skip to content

Commit

Permalink
fix: markdown.messagebox is optional
Browse files Browse the repository at this point in the history
  • Loading branch information
ext committed Nov 4, 2024
1 parent f3d3231 commit d558a90
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions etc/index.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,8 @@ export interface GeneratorOptions {
// (undocumented)
cacheFolder: string;
exampleFolders: string[];
markdown: {
messagebox: {
markdown?: {
messagebox?: {
title?: Record<string, string>;
};
};
Expand Down
4 changes: 2 additions & 2 deletions src/generator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,11 @@ export interface GeneratorOptions {
/**
* Options for markdown renderer.
*/
markdown: {
markdown?: {
/**
* Options for markdown messagebox container.
*/
messagebox: {
messagebox?: {
/**
* Default titles for messageboxes.
*
Expand Down

0 comments on commit d558a90

Please sign in to comment.