Skip to content

Commit

Permalink
Revert "ignore with any"
Browse files Browse the repository at this point in the history
This reverts commit eb8dae0.
  • Loading branch information
dai-shi committed May 10, 2024
1 parent eb8dae0 commit 190f9d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions website/lib/mdx.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,11 +125,11 @@ export async function getDocBySlug(slug: string) {
// mdx imports can be automatically source from the components directory
// cwd: path.join(root, "components"),
cwd,
// FIXME can someone eliminate any here?
xdmOptions(options: any) {
xdmOptions(options) {
// this is the recommended way to add custom remark/rehype plugins:
// The syntax might look weird, but it protects you in case we add/remove
// plugins in the future.
// @ts-expect-error FIXME what's wrong?
options.remarkPlugins = [
...(options.remarkPlugins ?? []),
remarkCodeSandboxURLUpdater,
Expand Down

0 comments on commit 190f9d8

Please sign in to comment.