forked from LaconicNetwork/cosmos-explorer
finish tx detail
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
import type { RPCClient } from '@/libs/client.rpc'
|
||||
import type { CosmosRestClient } from '@/libs/client'
|
||||
import 'pinia'
|
||||
import type { Ref } from 'vue'
|
||||
|
||||
declare module 'pinia' {
|
||||
export interface PiniaCustomProperties {
|
||||
// by using a setter we can allow both strings and refs
|
||||
set rpc(value: RPCClient | Ref<RPCClient>)
|
||||
get rpc(): RPCClient
|
||||
set rpc(value: CosmosRestClient | Ref<CosmosRestClient>)
|
||||
get rpc(): CosmosRestClient
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user