Cleanup class variable linebreaks (#5422)
This commit is contained in:
@@ -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>') {
|
||||
|
||||
@@ -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> = {}) {
|
||||
|
||||
Reference in New Issue
Block a user