Skip to content

Instantly share code, notes, and snippets.

@ssaumyaranjan7
Last active June 23, 2019 18:37
Show Gist options
  • Save ssaumyaranjan7/c58cb566f6d865a06b80f01d2698ab44 to your computer and use it in GitHub Desktop.
Save ssaumyaranjan7/c58cb566f6d865a06b80f01d2698ab44 to your computer and use it in GitHub Desktop.
This file is for typedefs index
// Imported a message type
const messageType = require(`./message.type`);
// Imported a employee type
const employeeType = require(`./employee.type`)
// Both the types are indexed and combined into an array
const typeDefs = [messageType, employeeType];
// Exported the typedefs to entry file
module.exports = { typeDefs };
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment