UNPKG
efate
Version:
latest (1.5.1)
1.5.1
1.5.0
1.4.2
1.4.1
1.4.0
1.3.0
1.2.0
1.1.1
1.0.2
1.0.0
1.0.0-alpha.0
0.7.0
0.6.0
0.5.1
0.5.0
0.4.1
0.3.0
0.2.0
javascript test fixture generator. Autofixturejs 2.0
github.com/jcteague/efate
jcteague/efate
efate
/
dist
/
property-builders
/
function-field-builder.d.ts
4 lines
(3 loc)
•
186 B
TypeScript
View Raw
1
2
3
4
import
Field
from
'../field'
;
declare
const
buildFromFunction
: <T>
(
fieldName
:
string
, [func]: [(inc:
number
) => T]
) =>
(
increment
:
number
) =>
Field
<T>;
export
default
buildFromFunction;