Skip to content

Commit

Permalink
fix: add anchorLinks type (#1894)
Browse files Browse the repository at this point in the history
  • Loading branch information
nobkd committed Feb 7, 2023
1 parent 13a2e1c commit 8d06196
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -579,7 +579,7 @@ export default defineNuxtModule<ModuleOptions>({
host: typeof options.documentDriven !== 'boolean' ? options.documentDriven?.host ?? '' : '',
trailingSlash: typeof options.documentDriven !== 'boolean' ? options.documentDriven?.trailingSlash ?? false : false,
// Anchor link generation config
anchorLinks: options.markdown.anchorLinks
anchorLinks: options.markdown.anchorLinks as { depth?: number, exclude?: number[] }
})

// Context will use in server
Expand Down

0 comments on commit 8d06196

Please sign in to comment.