Format and lint

This commit is contained in:
Ethan Frey
2020-02-03 18:25:05 +01:00
parent d2030f4f51
commit 1491b13e83
4 changed files with 5 additions and 7 deletions
-2
View File
@@ -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 -1
View File
@@ -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,
+2 -2
View File
@@ -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 {
+2 -2
View File
@@ -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 */