File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 11/**
22 * Returns the given input. If the input is the default value
3- * of protobuf, undefined is retunred . Use this when creating Amino JSON converters.
3+ * of protobuf, undefined is returned . Use this when creating Amino JSON converters.
44 */
55export function omitDefault < T extends string | number | bigint | boolean > ( input : T ) : T | undefined {
66 switch ( typeof input ) {
Original file line number Diff line number Diff line change 44
55This package provides a type-safe wrapper around
66[ Tendermint RPC] ( https://docs.tendermint.com/master/rpc/ ) . Notably, all binary
7- data is passed in and out as ` Uint8Array ` , and this module is reponsible for the
7+ data is passed in and out as ` Uint8Array ` , and this module is responsible for the
88hex/base64 encoding/decoding depending on the field and version of Tendermint.
99Also handles converting numbers to and from strings.
1010
Original file line number Diff line number Diff line change @@ -778,7 +778,7 @@ interface RpcBlock {
778778 /** Raw tx bytes, base64 encoded */
779779 readonly txs ?: readonly string [ ] ;
780780 } ;
781- // It's currently unclear why the deep nesting is requied .
781+ // It's currently unclear why the deep nesting is required .
782782 // See https://github.com/tendermint/tendermint/issues/7697.
783783 readonly evidence ?: {
784784 readonly evidence ?: readonly RpcEvidence [ ] ;
You can’t perform that action at this time.
0 commit comments