Make pubkeyTypes readonly
This commit is contained in:
parent
5ac758c6ba
commit
0b3b1559f7
@ -110,7 +110,7 @@ export interface PubKey {
|
||||
readonly value: string;
|
||||
}
|
||||
|
||||
export const pubkeyTypes: string[] = [
|
||||
export const pubkeyTypes: readonly string[] = [
|
||||
"tendermint/PubKeySecp256k1",
|
||||
"tendermint/PubKeyEd25519",
|
||||
"tendermint/PubKeySr25519",
|
||||
|
||||
2
packages/sdk/types/types.d.ts
vendored
2
packages/sdk/types/types.d.ts
vendored
@ -74,7 +74,7 @@ export interface PubKey {
|
||||
readonly type: string;
|
||||
readonly value: string;
|
||||
}
|
||||
export declare const pubkeyTypes: string[];
|
||||
export declare const pubkeyTypes: readonly string[];
|
||||
export declare type Bech32PubKey = string;
|
||||
export interface BaseAccount {
|
||||
/** Bech32 account address */
|
||||
|
||||
Loading…
Reference in New Issue
Block a user