fix typos in documentation and comments (#1668)

* Update README.md

* Update responses.ts

* Update omitdefault.ts
This commit is contained in:
kilavvy 2025-06-16 11:29:17 +02:00 committed by GitHub
parent 9327a82caf
commit fa76cbc699
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
/**
* Returns the given input. If the input is the default value
* of protobuf, undefined is retunred. Use this when creating Amino JSON converters.
* of protobuf, undefined is returned. Use this when creating Amino JSON converters.
*/
export function omitDefault<T extends string | number | bigint | boolean>(input: T): T | undefined {
switch (typeof input) {

View File

@ -4,7 +4,7 @@
This package provides a type-safe wrapper around
[Tendermint RPC](https://docs.tendermint.com/master/rpc/). Notably, all binary
data is passed in and out as `Uint8Array`, and this module is reponsible for the
data is passed in and out as `Uint8Array`, and this module is responsible for the
hex/base64 encoding/decoding depending on the field and version of Tendermint.
Also handles converting numbers to and from strings.

View File

@ -778,7 +778,7 @@ interface RpcBlock {
/** Raw tx bytes, base64 encoded */
readonly txs?: readonly string[];
};
// It's currently unclear why the deep nesting is requied.
// It's currently unclear why the deep nesting is required.
// See https://github.com/tendermint/tendermint/issues/7697.
readonly evidence?: {
readonly evidence?: readonly RpcEvidence[];