explicitly type prerequisites

This commit is contained in:
Nathan Wang 2020-06-04 15:38:56 -07:00
parent a3183944d0
commit 70bd7be4a1

View file

@ -30,4 +30,14 @@ exports.createPages = async ({ actions, graphql, reporter }) => {
},
});
});
};
exports.createSchemaCustomization = ({ actions }) => {
const { createTypes } = actions;
const typeDefs = `
type MarkdownRemarkFrontmatter implements Node {
prerequisites: [[String]]
}
`;
createTypes(typeDefs)
};