From 22a11412c2db18455e9bc3649491b198fd7d0c61 Mon Sep 17 00:00:00 2001 From: novice1993 Date: Tue, 12 Sep 2023 11:34:29 +0900 Subject: [PATCH] =?UTF-8?q?[Fix]=20=EB=B9=8C=EB=93=9C=20=EC=8B=9C=20?= =?UTF-8?q?=EC=98=A4=EB=A5=98=20=EB=B0=9C=EC=83=9D=ED=95=98=EB=8A=94=20?= =?UTF-8?q?=EC=BD=94=EB=93=9C=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - S3 서버에 업로드 하기위해 빌드 시 오류 발생하는 코드 일부 수정 Issues #84 --- client/package-lock.json | 7 +++++++ client/package.json | 1 + client/src/models/stockInfoProps.ts | 2 +- client/tsconfig.json | 1 + 4 files changed, 10 insertions(+), 1 deletion(-) diff --git a/client/package-lock.json b/client/package-lock.json index f96b9587..a94245e2 100644 --- a/client/package-lock.json +++ b/client/package-lock.json @@ -23,6 +23,7 @@ "styled-components": "^6.0.7" }, "devDependencies": { + "@types/node": "^20.6.0", "@types/react": "^18.2.15", "@types/react-dom": "^18.2.7", "@typescript-eslint/eslint-plugin": "^6.0.0", @@ -2533,6 +2534,12 @@ "integrity": "sha512-Hr5Jfhc9eYOQNPYO5WLDq/n4jqijdHNlDXjuAQkkt+mWdQR+XJToOHrsD4cPaMXpn6KO7y2+wM8AZEs8VpBLVA==", "dev": true }, + "node_modules/@types/node": { + "version": "20.6.0", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.6.0.tgz", + "integrity": "sha512-najjVq5KN2vsH2U/xyh2opaSEz6cZMR2SetLIlxlj08nOcmPOemJmUK2o4kUzfLqfrWE0PIrNeE16XhYDd3nqg==", + "dev": true + }, "node_modules/@types/prop-types": { "version": "15.7.5", "resolved": "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.5.tgz", diff --git a/client/package.json b/client/package.json index ebcbc824..d0929574 100644 --- a/client/package.json +++ b/client/package.json @@ -25,6 +25,7 @@ "styled-components": "^6.0.7" }, "devDependencies": { + "@types/node": "^20.6.0", "@types/react": "^18.2.15", "@types/react-dom": "^18.2.7", "@typescript-eslint/eslint-plugin": "^6.0.0", diff --git a/client/src/models/stockInfoProps.ts b/client/src/models/stockInfoProps.ts index 8c394433..070a81f6 100644 --- a/client/src/models/stockInfoProps.ts +++ b/client/src/models/stockInfoProps.ts @@ -1,4 +1,4 @@ -export interface StockInfoprops { +export interface StockInfoProps { stockAsBiId: number; companyId: number; askp1: string; diff --git a/client/tsconfig.json b/client/tsconfig.json index 2bb371e2..8bf8fe28 100644 --- a/client/tsconfig.json +++ b/client/tsconfig.json @@ -6,6 +6,7 @@ "module": "ESNext", "skipLibCheck": true, "outDir": "./dist", + "types": ["node"], /* Bundler mode */ "moduleResolution": "bundler",