Fix linting
This commit is contained in:
parent
7af2c64732
commit
697e4d2fec
@ -97,12 +97,12 @@ export class Registry {
|
||||
*/
|
||||
public constructor(customTypes?: Iterable<[string, GeneratedType]>) {
|
||||
const { cosmosCoin, cosmosMsgSend } = defaultTypeUrls;
|
||||
this.types = customTypes ? new Map<string, GeneratedType>([
|
||||
...customTypes
|
||||
]) : new Map<string, GeneratedType>([
|
||||
[cosmosCoin, Coin],
|
||||
[cosmosMsgSend, MsgSend],
|
||||
]);
|
||||
this.types = customTypes
|
||||
? new Map<string, GeneratedType>([...customTypes])
|
||||
: new Map<string, GeneratedType>([
|
||||
[cosmosCoin, Coin],
|
||||
[cosmosMsgSend, MsgSend],
|
||||
]);
|
||||
}
|
||||
|
||||
public register(typeUrl: string, type: GeneratedType): void {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user