From 1a9b644e20b9ff1e8484aae3e97a9ee2fa81238c Mon Sep 17 00:00:00 2001 From: Ben Holmes Date: Tue, 27 Jun 2023 17:25:27 -0400 Subject: [PATCH] fix: ts-expect-error (#7505) --- packages/integrations/markdoc/src/runtime.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/integrations/markdoc/src/runtime.ts b/packages/integrations/markdoc/src/runtime.ts index 05f7a0c1d6b4..6a20a8740614 100644 --- a/packages/integrations/markdoc/src/runtime.ts +++ b/packages/integrations/markdoc/src/runtime.ts @@ -6,6 +6,7 @@ import Markdoc, { type RenderableTreeNode, } from '@markdoc/markdoc'; import type { AstroInstance } from 'astro'; +// @ts-expect-error Cannot find module 'astro/runtime/server/index.js' or its corresponding type declarations. import { createComponent, renderComponent } from 'astro/runtime/server/index.js'; import type { AstroMarkdocConfig } from './config.js'; import { setupHeadingConfig } from './heading-ids.js';