fix: type declaration supplement

This commit is contained in:
alisa 2023-04-25 15:30:16 +08:00
parent aa7c910f4b
commit b8eea61013
2 changed files with 4 additions and 1 deletions

View File

@ -87,7 +87,6 @@ const upgradeCountdown = computed((): number => {
})
const total = computed(()=> {
console.log(proposal.value, 'proposal.value')
const tally = proposal.value.final_tally_result
let sum = 0
if(tally) {

View File

@ -27,6 +27,10 @@ export interface GovProposal {
"@type": string,
"title": string,
"description": string,
"plan"?: {
'height'?: string | number,
'time'?: string | number,
}
},
"status": string,
"final_tally_result": {