Add typings for catch errors

Signed-off-by: Erik Engervall <erik.engervall@gmail.com>
This commit is contained in:
Erik Engervall
2021-10-06 14:55:27 +02:00
parent b0810e3d19
commit 638bf560fa
2 changed files with 2 additions and 2 deletions
@@ -279,7 +279,7 @@ export function useCreateReleaseCandidate({
previousTag: latestRelease?.tagName,
});
} catch (error) {
asyncCatcher(error);
asyncCatcher(error as Error);
}
addStepToResponseSteps({
@@ -182,7 +182,7 @@ export function usePromoteRc({
updatedTagUrl: promotedReleaseRes.value.htmlUrl,
});
} catch (error) {
asyncCatcher(error);
asyncCatcher(error as Error);
}
addStepToResponseSteps({