From 97f21173ccb59ee7b7d7c1ecd05f2313a009e953 Mon Sep 17 00:00:00 2001 From: Sankalp Kotewar <98868223+kotewar@users.noreply.github.com> Date: Mon, 6 Mar 2023 12:18:32 +0000 Subject: [PATCH] upgraded typescript version Upgrade ts version to support latest azure sdk --- packages/cache/package.json | 2 +- packages/cache/tsconfig.json | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/cache/package.json b/packages/cache/package.json index a34a8635..ee29d98a 100644 --- a/packages/cache/package.json +++ b/packages/cache/package.json @@ -51,6 +51,6 @@ "devDependencies": { "@types/semver": "^6.0.0", "@types/uuid": "^3.4.5", - "typescript": "^3.8.3" + "typescript": "~4.8.0" } } diff --git a/packages/cache/tsconfig.json b/packages/cache/tsconfig.json index 2cddd408..1fbe66c8 100644 --- a/packages/cache/tsconfig.json +++ b/packages/cache/tsconfig.json @@ -4,7 +4,8 @@ "baseUrl": "./", "outDir": "./lib", "rootDir": "./src", - "lib": ["es6", "dom"] + "lib": ["es6", "dom"], + "useUnknownInCatchVariables": false }, "include": [ "./src"