From 060e2557da8d514d421c2352e276d4b74621c199 Mon Sep 17 00:00:00 2001 From: 1000TurquoisePogs Date: Tue, 27 Aug 2024 09:52:51 -0400 Subject: [PATCH] Add types to prevent build fail Signed-off-by: 1000TurquoisePogs --- package-lock.json | 7 ++++--- package.json | 1 + 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index a22bc8f..d4b48be 100644 --- a/package-lock.json +++ b/package-lock.json @@ -36,6 +36,7 @@ "@babel/preset-react": "7.24.7", "@babel/preset-stage-0": "7.8.3", "@babel/register": "7.24.6", + "@types/react": "16.9.56", "babel-loader": "9.1.3", "babel-plugin-react-html-attrs": "2.1.0", "clean-webpack-plugin": "4.0.0", @@ -2663,9 +2664,9 @@ "dev": true }, "node_modules/@types/react": { - "version": "18.3.4", - "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@types/react/-/react-18.3.4.tgz", - "integrity": "sha512-J7W30FTdfCxDDjmfRM+/JqLHBIyl7xUIp9kwK637FGmY7+mkSFSe6L4jpZzhj5QMfLssSDP4/i75AKkrdC7/Jw==", + "version": "16.9.56", + "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@types/react/-/react-16.9.56.tgz", + "integrity": "sha512-gIkl4J44G/qxbuC6r2Xh+D3CGZpJ+NdWTItAPmZbR5mUS+JQ8Zvzpl0ea5qT/ZT3ZNTUcDKUVqV3xBE8wv/DyQ==", "dependencies": { "@types/prop-types": "*", "csstype": "^3.0.2" diff --git a/package.json b/package.json index 6fab11f..4fe029f 100644 --- a/package.json +++ b/package.json @@ -33,6 +33,7 @@ "@babel/preset-env": "7.25.4", "@babel/preset-react": "7.24.7", "@babel/register": "7.24.6", + "@types/react": "16.9.56", "babel-loader": "9.1.3", "babel-plugin-react-html-attrs": "2.1.0", "clean-webpack-plugin": "4.0.0",