import { Option } from "https://dotland.deno.dev/x/polkadot@0.2.45/types/bundle.ts";
Constructors
new
Option(registry: Registry,
typeName: CodecClass<T> | string,
value?: unknown,
unnamed 3?: DefinitionSetter<CodecClass<T>>,
Type Parameters
T extends Codec
Static Methods
with<O extends Codec>(Type: CodecClass<O> | string): CodecClass<Option<O>>