import { buildSchema } from 'graphql' ; export param { ... string [ ] } sources returns { object } export function schemaFromTypeDefs ( ... sources ) { return buildSchema ( sources . reduce ( ( source1 , source2 ) => `${ source1 } ${ source2 }` ) ) ; }