diff --git a/package.json b/package.json index 6dd9f2d51..67c81ea35 100644 --- a/package.json +++ b/package.json @@ -301,7 +301,7 @@ "ts-loader": "4.1.0", "ts-node": "8.3.0", "typed-scss-modules": "4.1.1", - "typescript": "4.9.5", + "typescript": "5.1.3", "webpack": "5.76.0", "webpack-cli": "4.9.2", "webpack-dev-server": "4.11.1" diff --git a/ts/scripts/notarize.ts b/ts/scripts/notarize.ts index 113e2b8f6..8b5cbcddd 100644 --- a/ts/scripts/notarize.ts +++ b/ts/scripts/notarize.ts @@ -60,7 +60,6 @@ export async function afterSign({ await notarize({ tool: 'notarytool', - appBundleId, appPath, appleId, appleIdPassword, diff --git a/ts/services/LinkPreview.ts b/ts/services/LinkPreview.ts index ed1c4046b..8ee269dc3 100644 --- a/ts/services/LinkPreview.ts +++ b/ts/services/LinkPreview.ts @@ -320,7 +320,7 @@ async function getPreview( let image; if (imageHref && LinkPreview.shouldPreviewHref(imageHref)) { - let objectUrl: void | string; + let objectUrl: undefined | string; try { const fullSizeImage = await messaging.fetchLinkPreviewImage( imageHref, diff --git a/yarn.lock b/yarn.lock index d04027e97..ff29c3491 100644 --- a/yarn.lock +++ b/yarn.lock @@ -17993,7 +17993,12 @@ typedarray@^0.0.6: version "0.0.6" resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777" -typescript@4.9.5, typescript@^4.9.5: +typescript@5.1.3: + version "5.1.3" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.1.3.tgz#8d84219244a6b40b6fb2b33cc1c062f715b9e826" + integrity sha512-XH627E9vkeqhlZFQuL+UsyAXEnibT0kWR2FWONlr4sTjvxyJYnyefgrkyECLzM5NenmKzRAy2rR/OlYLA1HkZw== + +typescript@^4.9.5: version "4.9.5" resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.9.5.tgz#095979f9bcc0d09da324d58d03ce8f8374cbe65a" integrity sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g==