Skip to main content
Module

x/polkadot/types-codec/base/VecAny.ts

Package publishing for deno.land/x/polkadot
Go to Latest
File

import type { Codec } from '../types/index.ts';
import { AbstractArray } from '../abstract/Array.ts';
/** * @name VecAny * @description * This manages codec arrays, assuming that the inputs are already of type Codec. Unlike * a vector, this can be used to manage array-like structures with variable arguments of * any types */export class VecAny<T extends Codec> extends AbstractArray<T> { /** * @description Returns the base runtime type name for this instance */ public toRawType (): string { // FIXME This is basically an any type, cannot instantiate via createType return 'Vec<Codec>'; }}