Preparing search index...

    Configuration for JSON data serialization.

    Type Parameters

    • T
    • U extends unknown[]
    Index

    Constructors

    Properties

    Methods

    Constructors

    • Type Parameters

      • T
      • U extends unknown[]

      Parameters

      • constructorFunc: new (...args: U) => T
      • props: (keyof T)[]

      Returns LSJSONDataConfig<T, U>

    Properties

    constructorFunc: new (...args: U) => T
    props: (keyof T)[]

    Methods

    • Constructs an object from the arguments.

      Parameters

      • args: U

        The constructor arguments.

      Returns T

      The constructed object.

    • Gets the constructor arguments from the object.

      Parameters

      • obj: T

        The object to get the arguments from.

      Returns unknown[]

      The constructor arguments.