From 2aa9775078d9dc69bf08a89a5ccda90e02f2dc4d Mon Sep 17 00:00:00 2001 From: Matthieu Riegler Date: Wed, 20 Aug 2025 00:58:51 +0200 Subject: [PATCH] docs(docs-infra): remove temporary shiki dts (#63253) The tooling now supports reading `d.mts` typing files PR Close #63253 --- .../pipeline/api-gen/rendering/shiki.d.ts | 12 ------------ adev/shared-docs/pipeline/guides/shiki.d.ts | 12 ------------ 2 files changed, 24 deletions(-) delete mode 100644 adev/shared-docs/pipeline/api-gen/rendering/shiki.d.ts delete mode 100644 adev/shared-docs/pipeline/guides/shiki.d.ts diff --git a/adev/shared-docs/pipeline/api-gen/rendering/shiki.d.ts b/adev/shared-docs/pipeline/api-gen/rendering/shiki.d.ts deleted file mode 100644 index 773a9d3bdb1..00000000000 --- a/adev/shared-docs/pipeline/api-gen/rendering/shiki.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -// This definition file is a temporary workaround until the toolchain is able to read d.mts definition files -// TODO: delete this file when the toolchains supports .d.mts files -declare module 'shiki' { - function createHighlighter(params: { - themes: any[]; - langs: string[]; - cssVariablePrefix?: string; - defaultColor?: boolean; - }): unknown; - - type HighlighterGeneric = any; -} diff --git a/adev/shared-docs/pipeline/guides/shiki.d.ts b/adev/shared-docs/pipeline/guides/shiki.d.ts deleted file mode 100644 index 773a9d3bdb1..00000000000 --- a/adev/shared-docs/pipeline/guides/shiki.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -// This definition file is a temporary workaround until the toolchain is able to read d.mts definition files -// TODO: delete this file when the toolchains supports .d.mts files -declare module 'shiki' { - function createHighlighter(params: { - themes: any[]; - langs: string[]; - cssVariablePrefix?: string; - defaultColor?: boolean; - }): unknown; - - type HighlighterGeneric = any; -}