mirror of
https://github.com/cosmos/cosmjs.git
synced 2025-03-11 14:09:15 +00:00
Format and lint
This commit is contained in:
parent
d2030f4f51
commit
1491b13e83
@ -4,7 +4,6 @@ import {
|
||||
Account,
|
||||
AccountQuery,
|
||||
AddressQuery,
|
||||
Algorithm,
|
||||
BlockchainConnection,
|
||||
BlockHeader,
|
||||
BlockId,
|
||||
@ -20,7 +19,6 @@ import {
|
||||
Nonce,
|
||||
PostableBytes,
|
||||
PostTxResponse,
|
||||
PubkeyBytes,
|
||||
PubkeyQuery,
|
||||
Token,
|
||||
TokenTicker,
|
||||
|
@ -1,7 +1,7 @@
|
||||
/* eslint-disable @typescript-eslint/camelcase */
|
||||
import { types } from "@cosmwasm/sdk";
|
||||
import { Address, Algorithm, TokenTicker } from "@iov/bcp";
|
||||
import { Encoding } from "@iov/encoding";
|
||||
import { types } from "@cosmwasm/sdk";
|
||||
|
||||
import {
|
||||
decodeAmount,
|
||||
|
@ -3,7 +3,7 @@
|
||||
export interface Tx {
|
||||
readonly type: string;
|
||||
// TODO
|
||||
readonly value: any;
|
||||
readonly value: unknown;
|
||||
}
|
||||
|
||||
export interface StdTx {
|
||||
@ -16,7 +16,7 @@ export interface StdTx {
|
||||
export interface Msg {
|
||||
readonly type: string;
|
||||
// TODO: make better union type
|
||||
readonly value: MsgSend;
|
||||
readonly value: MsgSend | unknown;
|
||||
}
|
||||
|
||||
export interface MsgSend {
|
||||
|
4
packages/sdk/types/types.d.ts
vendored
4
packages/sdk/types/types.d.ts
vendored
@ -1,6 +1,6 @@
|
||||
export interface Tx {
|
||||
readonly type: string;
|
||||
readonly value: any;
|
||||
readonly value: unknown;
|
||||
}
|
||||
export interface StdTx {
|
||||
readonly msg: ReadonlyArray<Msg>;
|
||||
@ -10,7 +10,7 @@ export interface StdTx {
|
||||
}
|
||||
export interface Msg {
|
||||
readonly type: string;
|
||||
readonly value: MsgSend;
|
||||
readonly value: MsgSend | unknown;
|
||||
}
|
||||
export interface MsgSend {
|
||||
/** Bech32 account address */
|
||||
|
Loading…
x
Reference in New Issue
Block a user