From f4c8c0f5dbd269121a093a598a1b9bea63ced23b Mon Sep 17 00:00:00 2001 From: "DESKTOP-10IP77O\\13403" <1340324168@qq.com> Date: Fri, 12 May 2023 10:43:37 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=90=AF=E5=8A=A8=E9=94=99?= =?UTF-8?q?=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 3 +++ src/react-app-env.d.ts | 2 ++ 2 files changed, 5 insertions(+) diff --git a/package.json b/package.json index 2bc16d3..a086a38 100644 --- a/package.json +++ b/package.json @@ -173,6 +173,9 @@ "react-app" ] }, + "resolutions": { + "@types/react": "^16.9.8" + }, "devDependencies": { "@types/lodash-es": "^4.17.4", "@types/markdown-it": "^12.0.1", diff --git a/src/react-app-env.d.ts b/src/react-app-env.d.ts index 624c875..ba652e7 100644 --- a/src/react-app-env.d.ts +++ b/src/react-app-env.d.ts @@ -69,3 +69,5 @@ declare module '*.module.sass' { const classes: { readonly [key: string]: string }; export default classes; } + +declare module 'rs-md-html-parser'; \ No newline at end of file