Pezkuwi API
    Preparing search index...

    Function createType

    • Create an instance of a type with a given params.

      Type Parameters

      • T extends Codec = Codec
      • K extends string = string

      Parameters

      • registry: Registry
      • type: K

        A recognizable string representing the type to create an instance from

      • ...params: unknown[]

        The value to instantiate the type with

      Returns DetectCodec<T, K>