Factory · Core API
type Factory<T, TDeps> = (deps) => T;Factory function whose input is inferred from its dependency map.
Type Parameters
Section titled “Type Parameters”| Type Parameter |
|---|
|
|
|
|
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
|
|
|
Returns
Section titled “Returns”T