API reference@siftline/coreFunctions
defineFixtures
function defineFixtures<Q>(recipe, fixtures): Fixture<Q>[];NoInfer keeps Q coming from the Recipe alone, so an unannotated Fixture literal is
checked against it instead of widening it. The implementation is erased because inside a
generic body TS cannot see that Fixture<Q> narrows Fixture.
Type Parameters
| Type Parameter |
|---|
Q extends Questions |
Parameters
Returns
Fixture<Q>[]