/** * Function that returns a type of the field. Returned value must be a class used on the relation. */ export type RelationTypeInFunction = ((type?: any) => Function)|Function|string; // todo: |string ?