mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 02:45:54 +01:00
chore(monorepo/server): fix error due to markdown-gfm
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
5
apps/server/src/types.d.ts
vendored
5
apps/server/src/types.d.ts
vendored
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user