import { SeederConstructor , Seeder } from './types' ; export const importSeed = async ( filePath ) : Promise < SeederConstructor > => { const seedFileObject = await import ( filePath ) ; const keys = Object . keys ( seedFileObject ) ; return seedFileObject [ keys [ 0 ] ] ; } ;