UNPKG
mimicry-js
Version:
latest (1.3.0)
1.3.0
1.2.2
1.2.1
1.1.1
1.1.0
1.0.2
1.0.1
1.0.0
TS library for generating fake data for tests
Stivooo/mimicry-js
mimicry-js
/
dist
/
generators
/
withPrev.d.ts
4 lines
•
201 B
TypeScript
View Raw
1
2
3
4
type
FunctionWithPreviousValue
<T> =
(
prev
?: T
) =>
T;
export
declare
function
withPrev<V>(
fn
:
FunctionWithPreviousValue
<V>):
Generator
<V,
never
,
never
>;
export
{};
//# sourceMappingURL=withPrev.d.ts.map