DataOrParent: Partial<D> | SohlLogic<any>

The overloaded first argument accepted by the SohlEntity constructor (and clone): either a data bag of type D, or a parent Logic (the (parent) shorthand). Subclasses pass their own Data type as D.

Type Parameters