Last active
June 23, 2019 18:37
-
-
Save ssaumyaranjan7/c58cb566f6d865a06b80f01d2698ab44 to your computer and use it in GitHub Desktop.
This file is for typedefs index
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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