aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--package.json1
-rw-r--r--src/lib/Markdown/Markdown.tsx1
-rw-r--r--src/lib/Markdown/types.d.ts1
3 files changed, 2 insertions, 1 deletions
diff --git a/package.json b/package.json
index fd42c06..3592ae8 100644
--- a/package.json
+++ b/package.json
@@ -22,7 +22,6 @@
"@material-ui/core": "^4.11.0",
"axios": "^0.21.0",
"emojilib": "^2.4.0",
- "mdast-util-from-markdown": "^0.8.4",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"react-markdown": "^5.0.3",
diff --git a/src/lib/Markdown/Markdown.tsx b/src/lib/Markdown/Markdown.tsx
index c91bc14..4fa6a9a 100644
--- a/src/lib/Markdown/Markdown.tsx
+++ b/src/lib/Markdown/Markdown.tsx
@@ -12,6 +12,7 @@ import Image from './Image';
interface PropTypes {
data?: string;
url?: string;
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
context?: Record<string, any>;
}
diff --git a/src/lib/Markdown/types.d.ts b/src/lib/Markdown/types.d.ts
index f39e4f2..f444cf1 100644
--- a/src/lib/Markdown/types.d.ts
+++ b/src/lib/Markdown/types.d.ts
@@ -1,5 +1,6 @@
declare module 'remark-gemoji';
declare module '*.md' {
+ // eslint-disable-next-line import/no-mutable-exports
let Markdown: string;
export default Markdown;
}