@haraldki/jsonaccess
    Preparing search index...

    Function jsonInstanceConverter

    • Returns a function which works like jsonAsInstance with the fixed given mappers and ctor.

      Type Parameters

      • A extends unknown[]
      • C extends object

      Parameters

      • mappers: { [I in string | number | symbol]: Extractor<A[I]> }
      • ctor: new (...args: A) => C

      Returns Extractor<C>