From eb8dae03fc6e05842a92974bde50f0b3213527aa Mon Sep 17 00:00:00 2001 From: daishi Date: Fri, 10 May 2024 10:50:04 +0900 Subject: [PATCH] ignore with any --- website/lib/mdx.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/website/lib/mdx.ts b/website/lib/mdx.ts index 650076fa..fc110051 100644 --- a/website/lib/mdx.ts +++ b/website/lib/mdx.ts @@ -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, - xdmOptions(options) { + // FIXME can someone eliminate any here? + xdmOptions(options: any) { // 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,