• Copies the properties of the SourceClass onto the TargetClass, omitting the provided keys.

    Type Parameters

    • T
    • S

    Parameters

    • TargetClass: Newable<T>

      The class to copy the properties onto.

    • SourceClass: Newable<S>

      The class which properties should be copied.

    • omitKeys: (keyof S)[]

      Any keys that should be left out from copying.

    Returns void