Skip to content
Snippets Groups Projects
Commit eff5a1c7 authored by Boyan Tsolov's avatar Boyan Tsolov
Browse files

chore: eslint disable on ts ingored lines

parent b38f5c89
No related branches found
No related tags found
1 merge request!74chore: bump afj to 0.5 version
Pipeline #70317 passed
...@@ -436,6 +436,7 @@ export class AgentService { ...@@ -436,6 +436,7 @@ export class AgentService {
credToSign.id = didRecord.did + "?uuid=" + uuid(); credToSign.id = didRecord.did + "?uuid=" + uuid();
if (credToSign.credentialSubject) { if (credToSign.credentialSubject) {
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore // @ts-ignore
credToSign.credentialSubject.id = credToSign.id; credToSign.credentialSubject.id = credToSign.id;
} }
...@@ -458,6 +459,7 @@ export class AgentService { ...@@ -458,6 +459,7 @@ export class AgentService {
verificationMethod: verificationMethod.id, verificationMethod: verificationMethod.id,
}); });
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore // @ts-ignore
const jsonVC = vc.toJson() as W3cJsonLdVerifiableCredentialDto; const jsonVC = vc.toJson() as W3cJsonLdVerifiableCredentialDto;
this.logger.debug(JSON.stringify(jsonVC, null, 2)); this.logger.debug(JSON.stringify(jsonVC, null, 2));
...@@ -507,6 +509,7 @@ export class AgentService { ...@@ -507,6 +509,7 @@ export class AgentService {
verificationMethod: verificationMethod.id, verificationMethod: verificationMethod.id,
}); });
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore // @ts-ignore
const jsonVP = vp.toJson() as W3cJsonLdVerifiablePresentationDto; const jsonVP = vp.toJson() as W3cJsonLdVerifiablePresentationDto;
this.logger.debug(JSON.stringify(jsonVP, null, 2)); this.logger.debug(JSON.stringify(jsonVP, null, 2));
...@@ -536,6 +539,7 @@ export class AgentService { ...@@ -536,6 +539,7 @@ export class AgentService {
credToSign.id = didRecord.did + "?uuid=" + uuid(); credToSign.id = didRecord.did + "?uuid=" + uuid();
if (credToSign.credentialSubject) { if (credToSign.credentialSubject) {
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore // @ts-ignore
credToSign.credentialSubject.id = credToSign.id; credToSign.credentialSubject.id = credToSign.id;
} }
...@@ -557,7 +561,7 @@ export class AgentService { ...@@ -557,7 +561,7 @@ export class AgentService {
proofType: "Ed25519Signature2018", proofType: "Ed25519Signature2018",
verificationMethod: verificationMethod.id, verificationMethod: verificationMethod.id,
}); });
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore // @ts-ignore
const jsonVC = vc.toJson() as JsonCredential; const jsonVC = vc.toJson() as JsonCredential;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment