From 4e542a7eca535293a8773e393679d74268755755 Mon Sep 17 00:00:00 2001 From: Divyansh Singh <40380293+brc-dd@users.noreply.github.com> Date: Thu, 23 Jan 2025 23:47:11 +0530 Subject: [PATCH] mark types as any for now --- types/default-theme.d.ts | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/types/default-theme.d.ts b/types/default-theme.d.ts index 2634f57e..c6767043 100644 --- a/types/default-theme.d.ts +++ b/types/default-theme.d.ts @@ -1,4 +1,3 @@ -import type MarkdownIt from 'markdown-it' import type { Options as MiniSearchOptions } from 'minisearch' import type { ComputedRef, Ref, ShallowRef } from 'vue' import type { DocSearchProps } from './docsearch.js' @@ -6,7 +5,6 @@ import type { LocalSearchTranslations, PageSplitSection } from './local-search.js' -import type { MarkdownItAsync } from 'markdown-it-async' import type { Awaitable, MarkdownEnv, PageData } from './shared.js' export namespace DefaultTheme { @@ -449,11 +447,7 @@ export namespace DefaultTheme { * Allows transformation of content before indexing (node only) * Return empty string to skip indexing */ - _render?: ( - src: string, - env: MarkdownEnv, - md: MarkdownItAsync - ) => Awaitable + _render?: (src: string, env: MarkdownEnv, md: any) => Awaitable } // algolia -------------------------------------------------------------------