UNPKG
@linnify/typeorm-factory
Version:
latest (1.0.12)
1.0.12
1.0.11
1.0.10
1.0.9
1.0.8
1.0.7
1.0.6
1.0.5
Factory for typeorm
github.com/linnify/typeorm-factory
linnify/typeorm-factory
@linnify/typeorm-factory
/
lib
/
subfactory.d.ts
8 lines
(7 loc)
•
241 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
import
{
FactoryClass
}
from
'./types'
;
import
{
Factory
}
from
'./factory'
;
export
declare
class
SubFactory
<T> {
factory
:
Factory
<T>;
values
:
Partial
<T> |
undefined
;
constructor
(
factory
:
FactoryClass
<T>,
values
?:
Partial
<T>
); }