Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
marked: Use types from ESM (not CJS) version of re2js.
Anders Kaseorgca6881134fec
diff --git a/web/third/marked/lib/marked.d.cts b/web/third/marked/lib/marked.d.ctsindex 8c51a8d9494..470eecf7ac6 100644--- a/web/third/marked/lib/marked.d.cts+++ b/web/third/marked/lib/marked.d.cts@@ -4,7 +4,7 @@ we only use parts of the marked API and are using a forkof the upstream library.*/-import type {Matcher, RE2JS} from "re2js";+import type {Matcher, RE2JS} from "./re2js.d.ts";declare class Renderer {code: (code: string) => string;diff --git a/web/third/marked/lib/re2js.d.ts b/web/third/marked/lib/re2js.d.tsnew file mode 100644index 00000000000..4e25676c570--- /dev/null+++ b/web/third/marked/lib/re2js.d.ts@@ -0,0 +1,2 @@+// Re-export these types from the ESM (not CJS) version of re2js.+export type {Matcher, RE2JS} from "re2js";