diff --git a/package.json b/package.json index 165b40cb..9e5b6c80 100644 --- a/package.json +++ b/package.json @@ -90,7 +90,7 @@ "tslint-eslint-rules": "^5.3.1", "tslint-react": "^5.0.0", "typed-redux-saga": "^1.3.1", - "typescript": "^4.1.2", + "typescript": "^4.5.4", "webln": "0.2.2", "webpack": "^5.65.0", "webpack-cli": "^4.2.0", diff --git a/src/app/components/PromptTemplate/index.tsx b/src/app/components/PromptTemplate/index.tsx index cfb76cf6..903832fd 100644 --- a/src/app/components/PromptTemplate/index.tsx +++ b/src/app/components/PromptTemplate/index.tsx @@ -103,7 +103,7 @@ export default class PromptTemplate extends React.Component { } catch (error) { this.setState({ isConfirming: false, - error, + error: error as Error, }); return; } diff --git a/yarn.lock b/yarn.lock index 29e4cdcd..2a2899c5 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6209,7 +6209,7 @@ typescript-tuple@^2.2.1: dependencies: typescript-compare "^0.0.2" -typescript@^4.1.2: +typescript@^4.5.4: version "4.5.4" resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.5.4.tgz#a17d3a0263bf5c8723b9c52f43c5084edf13c2e8" integrity sha512-VgYs2A2QIRuGphtzFV7aQJduJ2gyfTljngLzjpfW9FoYZF6xuw1W0vW9ghCKLfcWrCFxK81CSGRAvS1pn4fIUg==