Documents injecute 1.x · Migrating from 0.x
Skip to content

Type Alias: Produced<F> ​

Produced<F> = F extends abstract new (...args) => infer I ? I : F extends (...args) => infer R ? R : never

Defined in: src/types.ts:130

What a Factory produces: the instance type of a class, or the return type of a function.

Type Parameters ​

F ​

F

Released under the MIT License.