LogansUA / typeorm-seed-extension

TypeORM seed extension
MIT License
4 stars 2 forks source link

Missing type definitions #4

Closed bpatram closed 5 years ago

bpatram commented 5 years ago

Hello, I am attempting to create a seed file but it seems the Seedand Factory interfaces are not exposed.

I was expecting something like:

import { Seed, Factory } from 'typeorm-seed-extension';

but it seems as a way to work around this I have to dig into the library a bit and use:

// tslint:disable-next-line:no-submodule-imports
import { Seed, Factory } from 'typeorm-seed-extension/seed/types';