UNPKG

@polkadot/types-create

Version:
4 lines (3 loc) 295 B
import type { Codec, Registry } from '@polkadot/types-codec/types'; import type { CreateOptions } from '../types/index.js'; export declare function createTypeUnsafe<T extends Codec = Codec, K extends string = string>(registry: Registry, type: K, params?: unknown[], options?: CreateOptions): T;