Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/polkadot/types-codec/mod.ts>WrapperOpaque

Package publishing for deno.land/x/polkadot
Go to Latest
class WrapperOpaque
extends WrapperKeepOpaque<T>
import { WrapperOpaque } from "https://deno.land/x/polkadot@0.2.28/types-codec/mod.ts";

Constructors

new
WrapperOpaque(
registry: Registry,
typeName: CodecClass<T> | string,
value?: unknown,
)

Type Parameters

T extends Codec

Properties

readonly
inner: T

Static Methods

with<T extends Codec>(Type: CodecClass<T> | string): CodecClass<WrapperKeepOpaque<T>>