Skip to content

Documentation / scene / ExtractMixinType

Type Alias: ExtractMixinType<M>

ExtractMixinType<M> = M extends [infer First] ? ExtractMixinReturnType<First> : M extends [infer First, ...(infer Rest)] ? ExtractMixinReturnType<First> & ExtractMixinType<[...Rest]> : never

Defined in: libs/scene/src/material/meshmaterial.ts:51

Produces the intersection type of multiple mixins’ return types.

Type Parameters

M

M

Released under the MIT License.