From 4568fba7a92d6f1bdd3ebd81f1b7717158892409 Mon Sep 17 00:00:00 2001 From: Michcio Date: Sun, 25 Sep 2022 16:01:35 +0200 Subject: [PATCH] Mock typings for twemoji-parser's regex file --- .../backend/src/@types/twemoji-parser__dist__lib__regex.d.ts | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 packages/backend/src/@types/twemoji-parser__dist__lib__regex.d.ts diff --git a/packages/backend/src/@types/twemoji-parser__dist__lib__regex.d.ts b/packages/backend/src/@types/twemoji-parser__dist__lib__regex.d.ts new file mode 100644 index 000000000..3b03d158b --- /dev/null +++ b/packages/backend/src/@types/twemoji-parser__dist__lib__regex.d.ts @@ -0,0 +1,4 @@ +declare module 'twemoji-parser/dist/lib/regex.js' { + const a: {'default': RegExp}; + export default a; +}