- Preparing search index...
- The search index is not available
Deepkit
- mixin<T>(...classTypes: T): ClassType<UnionToIntersection<ExtractClassType<T[number]>>>
-
Type Parameters
-
T extends AbstractClassType<any>[]
Returns ClassType<UnionToIntersection<ExtractClassType<T[number]>>>
Function to mixin multiple classes together and create a new class, which can be extended from.
The first entry of the mixin() call will be used as base class.
Example