chore(monorepo/server): fix error due to markdown-gfm

This commit is contained in:
Elian Doran
2025-04-18 13:05:32 +03:00
parent fa49f8ac54
commit ea13565fc1
3 changed files with 3 additions and 7 deletions

View File

@@ -1,7 +1,7 @@
"use strict";
import TurndownService, { type Rule } from "turndown";
import { gfm } from "@triliumnext/turndown-plugin-gfm";
import { gfm } from "../../../../../packages/turndown-plugin-gfm/src/gfm.js";
let instance: TurndownService | null = null;

View File

@@ -18,11 +18,6 @@ declare module "normalize-strings" {
export default normalizeString;
}
declare module "@triliumnext/turndown-plugin-gfm" {
import TurndownService from "turndown";
export function gfm(service: TurndownService): void;
}
declare module "is-animated" {
function isAnimated(buffer: Buffer): boolean;
export default isAnimated;