From d61b35c19fe51dd0e06f405ceae23a3bfb438266 Mon Sep 17 00:00:00 2001 From: robin Date: Wed, 16 Oct 2024 10:16:52 -0400 Subject: [PATCH] fix typescript error --- package.json | 2 +- tsconfig.json | 3 ++- yarn.lock | 7 ++++++- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 7305fd64..62fa8317 100644 --- a/package.json +++ b/package.json @@ -89,7 +89,7 @@ "solhint": "^3.3.6", "ts-node": "^10.4.0", "typechain": "^6.0.2", - "typescript": "^4.4.4", + "typescript": "^5.6.3", "vendoza": "0.0.4" }, "repository": "git@github.com:compound-finance/comet.git", diff --git a/tsconfig.json b/tsconfig.json index 5fd29a12..0c06eb43 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -11,5 +11,6 @@ "files": [ "./index.ts", "./hardhat.config.ts", - ] + ], + "exclude": ["node_modules"] } diff --git a/yarn.lock b/yarn.lock index 1f357a7d..b2ce06ef 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4524,11 +4524,16 @@ typedarray@^0.0.6: resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777" integrity sha512-/aCDEGatGvZ2BIk+HmLf4ifCJFwvKFNb9/JeZPMulfgFracn9QFcAf5GO8B/mweUjSoblS5In0cWhqpfs/5PQA== -typescript@^4.1.2, typescript@^4.4.4: +typescript@^4.1.2: version "4.9.5" resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.9.5.tgz#095979f9bcc0d09da324d58d03ce8f8374cbe65a" integrity sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g== +typescript@^5.6.3: + version "5.6.3" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.6.3.tgz#5f3449e31c9d94febb17de03cc081dd56d81db5b" + integrity sha512-hjcS1mhfuyi4WW8IWtjP7brDrG2cuDZukyrYrSauoXGNgx0S7zceP07adYkJycEr56BOUTNPzbInooiN3fn1qw== + typescript@~4.0.3: version "4.0.8" resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.0.8.tgz#5739105541db80a971fdbd0d56511d1a6f17d37f"