add more type casts
This commit is contained in:
@@ -139,6 +139,7 @@ import axios from "axios";
|
||||
import { DateTime } from "luxon";
|
||||
import * as R from "ramda";
|
||||
import { Component, Vue } from "vue-facing-decorator";
|
||||
import { Router } from "vue-router";
|
||||
|
||||
import QuickNav from "@/components/QuickNav.vue";
|
||||
import TopMessage from "@/components/TopMessage.vue";
|
||||
@@ -174,7 +175,7 @@ export default class QuickActionBvcBeginView extends Vue {
|
||||
apiServer = "";
|
||||
claimCountByUser = 0;
|
||||
claimCountWithHidden = 0;
|
||||
claimsToConfirm: GenericCredWrapper[] = [];
|
||||
claimsToConfirm: GenericCredWrapper<GenericVerifiableCredential>[] = [];
|
||||
claimsToConfirmSelected: string[] = [];
|
||||
description = "breakfast";
|
||||
loadingConfirms = true;
|
||||
@@ -227,7 +228,8 @@ export default class QuickActionBvcBeginView extends Vue {
|
||||
}
|
||||
await response.json().then((data) => {
|
||||
const dataByOthers = R.reject(
|
||||
(claim: GenericCredWrapper) => claim.issuer === this.activeDid,
|
||||
(claim: GenericCredWrapper<GenericVerifiableCredential>) =>
|
||||
claim.issuer === this.activeDid,
|
||||
data,
|
||||
);
|
||||
const dataByOthersWithoutHidden = R.reject(
|
||||
@@ -258,7 +260,7 @@ export default class QuickActionBvcBeginView extends Vue {
|
||||
const route = {
|
||||
path: "/claim/" + encodeURIComponent(jwtId),
|
||||
};
|
||||
this.$router.push(route);
|
||||
(this.$router as Router).push(route);
|
||||
}
|
||||
|
||||
async record() {
|
||||
|
||||
Reference in New Issue
Block a user