Type alias AeMembersDef<TClass, TAmended>

AeMembersDef<TClass, TAmended>: {
    [K in keyof InstanceType<TClass>]?: Amendment<TAmended & AeMember<InstanceType<TClass>[K], TClass>> | null
}

A map of member amendments to apply by @AeMembers.

Contains amendments of existing members under corresponding keys. Contains amendments of the members to add under new keys. null/undefined values are ignored.

Type Parameters

  • TClass extends AmendableClass

    A type of amended class.

  • TAmended extends AeClass<TClass> = AeClass<TClass>

    A type of the entity representing a class to amend.

Generated using TypeDoc