diff --git a/packages/openid4vc/src/shared/utils.ts b/packages/openid4vc/src/shared/utils.ts index 1ccc968a5..de0f72588 100644 --- a/packages/openid4vc/src/shared/utils.ts +++ b/packages/openid4vc/src/shared/utils.ts @@ -184,6 +184,7 @@ export function getCreateJwtCallback( return jws } + // @ts-expect-error - All methods are supported currently so there is no unsupported method anymore throw new Error(`Unsupported jwt issuer method '${jwtIssuer.method}'`) } }