forked from cerc-io/cosmos-explorer
fix: type declaration supplement
This commit is contained in:
parent
aa7c910f4b
commit
b8eea61013
@ -87,7 +87,6 @@ const upgradeCountdown = computed((): number => {
|
|||||||
})
|
})
|
||||||
|
|
||||||
const total = computed(()=> {
|
const total = computed(()=> {
|
||||||
console.log(proposal.value, 'proposal.value')
|
|
||||||
const tally = proposal.value.final_tally_result
|
const tally = proposal.value.final_tally_result
|
||||||
let sum = 0
|
let sum = 0
|
||||||
if(tally) {
|
if(tally) {
|
||||||
|
@ -27,6 +27,10 @@ export interface GovProposal {
|
|||||||
"@type": string,
|
"@type": string,
|
||||||
"title": string,
|
"title": string,
|
||||||
"description": string,
|
"description": string,
|
||||||
|
"plan"?: {
|
||||||
|
'height'?: string | number,
|
||||||
|
'time'?: string | number,
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"status": string,
|
"status": string,
|
||||||
"final_tally_result": {
|
"final_tally_result": {
|
||||||
|
Loading…
Reference in New Issue
Block a user