diff --git a/smithy-typescript-codegen/src/main/resources/software/amazon/smithy/typescript/codegen/base-package.json b/smithy-typescript-codegen/src/main/resources/software/amazon/smithy/typescript/codegen/base-package.json index 4629f6cf240..1146d0eb6dc 100644 --- a/smithy-typescript-codegen/src/main/resources/software/amazon/smithy/typescript/codegen/base-package.json +++ b/smithy-typescript-codegen/src/main/resources/software/amazon/smithy/typescript/codegen/base-package.json @@ -33,7 +33,7 @@ "rimraf": "^3.0.0", "ts-jest": "^26.4.1", "typedoc": "^0.19.2", - "typescript": "~4.3.2" + "typescript": "~4.4.2" }, "engines": { "node": ">=10.0.0" diff --git a/smithy-typescript-codegen/src/main/resources/software/amazon/smithy/typescript/codegen/tsconfig.json b/smithy-typescript-codegen/src/main/resources/software/amazon/smithy/typescript/codegen/tsconfig.json index 15ef55fbb76..b5ae4c1ecba 100644 --- a/smithy-typescript-codegen/src/main/resources/software/amazon/smithy/typescript/codegen/tsconfig.json +++ b/smithy-typescript-codegen/src/main/resources/software/amazon/smithy/typescript/codegen/tsconfig.json @@ -13,7 +13,8 @@ "resolveJsonModule": true, "esModuleInterop": true, "declarationDir": "dist/types", - "outDir": "dist/cjs" + "outDir": "dist/cjs", + "useUnknownInCatchVariables": false, }, "typedocOptions": { "exclude": [