From 17187e2de1c537fbac17d13997a56c0739e46a93 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Tue, 20 May 2025 11:57:24 +0300 Subject: [PATCH] Revert "test(highlightjs): another broken import" This reverts commit 7743f99b6f38d28ac9d09bd41b496a53150c4693. --- packages/highlightjs/src/index.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/highlightjs/src/index.ts b/packages/highlightjs/src/index.ts index 9a3d13039..23bbb5489 100644 --- a/packages/highlightjs/src/index.ts +++ b/packages/highlightjs/src/index.ts @@ -1,7 +1,8 @@ -import hljs, { type HighlightOptions } from "@highlightjs/cdn-assets/es/core.js"; +import hljs from "@highlightjs/cdn-assets/es/core.js"; import { normalizeMimeTypeForCKEditor, type MimeType } from "@triliumnext/commons"; import syntaxDefinitions from "./syntax_highlighting.js"; import { type Theme } from "./themes.js"; +import { type HighlightOptions } from "highlight.js"; export { default as Themes, type Theme } from "./themes.js";