Represents the type of a mutable class created from a definition. Instances of this type are created by calling the declare() function.

Note that both function call syntax and new are supported ways to create a mutable instance.

interface MutableConstructor<Members> {
    new MutableConstructor(
        options?: Partial<Properties<Mutable<Members>>>,
    ): Mutable<Members>;
    (options?: Partial<Properties<Mutable<Members>>>): Mutable<Members>;
}

Type Parameters

  • Members

Constructors

Constructors