From ae16bc7ae81dffe82db399fbf0bff233e6090ab7 Mon Sep 17 00:00:00 2001 From: YangFong Date: Mon, 4 Mar 2024 11:00:49 +0800 Subject: [PATCH] fix: type error MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 消除使用 `react-lazy-load-image-component` 时出现的类型警告 --- packages/client/package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/client/package.json b/packages/client/package.json index 8262670..2b9b732 100644 --- a/packages/client/package.json +++ b/packages/client/package.json @@ -112,6 +112,7 @@ "devDependencies": { "@types/node": "17.0.13", "@types/react": "17.0.38", + "@types/react-lazy-load-image-component": "^1.6.3", "@typescript-eslint/eslint-plugin": "^5.21.0", "@typescript-eslint/parser": "^5.21.0", "copy-webpack-plugin": "11.0.0",