A constructor interface for creating instances of DynamicProduct.

interface DynamicProductConstructor {
    new DynamicProductConstructornew (id: number): DynamicProduct;
    prototype: DynamicProduct;
}

Constructors

Properties

Constructors

  • Creates a new instance of DynamicProduct with the given id.

    Parameters

    • id: number

      The identifier for the DynamicProduct instance.

    Returns DynamicProduct

    A new instance of DynamicProduct.

Properties

prototype: DynamicProduct

The prototype property of the DynamicProduct class.

This property provides access to the prototype of the DynamicProduct class, allowing access to methods and properties defined on the prototype.