Skip to content

Commit

Permalink
chore: remove unused type cast
Browse files Browse the repository at this point in the history
  • Loading branch information
panva committed Sep 8, 2024
1 parent 0507b2b commit fa70ebf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3532,7 +3532,7 @@ function checkSupportedJwsAlg(alg: unknown) {
if (!SUPPORTED_JWS_ALGS.includes(<any>alg)) {
throw new UnsupportedOperationError('unsupported JWS "alg" identifier')
}
return <JWSAlgorithm>alg
return alg
}

function checkRsaKeyAlgorithm(algorithm: RsaHashedKeyAlgorithm) {
Expand Down

0 comments on commit fa70ebf

Please sign in to comment.