Cleanup class variable linebreaks (#5422)

This commit is contained in:
Jaco
2023-01-19 08:52:14 +02:00
committed by GitHub
parent 12bf338e40
commit 2eb453c4ce
13 changed files with 12 additions and 82 deletions
-4
View File
@@ -42,13 +42,9 @@ function decodeEvent (registry: Registry, value?: Uint8Array): Decoded {
*/
export class GenericEventData extends Tuple implements IEventData {
readonly #meta: EventMetadataLatest;
readonly #method: string;
readonly #names: string[] | null = null;
readonly #section: string;
readonly #typeDef: TypeDef[];
constructor (registry: Registry, value: Uint8Array, meta: EventMetadataLatest, section = '<unknown>', method = '<unknown>') {
-1
View File
@@ -69,7 +69,6 @@ function decodeVote (registry: Registry, value?: InputTypes): Uint8Array {
*/
export class GenericVote extends U8aFixed {
#aye: boolean;
#conviction: Conviction;
constructor (registry: Registry, value?: InputTypes) {
@@ -172,13 +172,9 @@ export class StorageKey<A extends AnyTuple = AnyTuple> extends Bytes implements
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore This is assigned via this.decodeArgsFromMeta()
#args: A;
#meta?: StorageEntryMetadataLatest;
#outputType: string;
#method?: string;
#section?: string;
constructor (registry: Registry, value?: string | Uint8Array | StorageKey | StorageEntry | [StorageEntry, unknown[]?], override: Partial<StorageKeyExtra> = {}) {