Annotations
3 errors
test:
apps/policy-engine/src/open-policy-agent/core/open-policy-agent.engine.ts#L133
Argument of type '{ access?: [{ resource: string; permissions: string[]; }] | undefined; principalCredential: { key: { kty: "EC"; alg: "ES256K"; kid: string; addr: `0x${string}`; crv: "secp256k1"; use?: "sig" | "enc" | undefined; } | ... 4 more ... | ({ ...; } & { kty: "EC"; alg: "ES256K"; kid: string; addr: `0x${string}`; crv: "secp...' is not assignable to parameter of type '{ principalCredential: { key: { kty: "EC"; alg: "ES256K"; kid: string; addr: `0x${string}`; crv: "secp256k1"; use?: "sig" | "enc" | undefined; } | { kty: "RSA"; alg: "RS256"; kid: string; n: string; e: string; use?: "sig" | ... 1 more ... | undefined; addr?: string | undefined; } | { ...; } | { ...; } | ({ ...; } & ...'.
|
test:
apps/policy-engine/src/open-policy-agent/core/util/evaluation.util.ts#L107
Type 'string[]' is not assignable to type 'Permission[]'.
|
test
Process completed with exit code 2.
|