UNPKG
@elgervb/mock-data
Version:
latest (1.0.3)
1.0.3
1.0.2
1.0.1
1.0.0
0.0.9
0.0.8
0.0.7
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1
Mock data made easy, while maintaining type safety
@elgervb/mock-data
/
lib
/
blueprint
/
array-from.d.ts
6 lines
(5 loc)
•
257 B
TypeScript
View Raw
1
2
3
4
5
6
import
{
BlueprintConstantProperties
}
from
'./blueprint'
;
/** * Returns an array of mocks from a previously registered `Blueprint` */
export
declare
function
arrayFrom<T>(
name
:
string
,
length
:
number
,
withDefaults
?:
BlueprintConstantProperties
<T>): T[];