diff --git a/src/components/MarkdownPage/MarkdownPage.js b/src/components/MarkdownPage/MarkdownPage.js index ef166397..b43b8e09 100644 --- a/src/components/MarkdownPage/MarkdownPage.js +++ b/src/components/MarkdownPage/MarkdownPage.js @@ -19,15 +19,17 @@ import toCommaSeparatedList from 'utils/toCommaSeparatedList'; import {sharedStyles} from 'theme'; import createOgUrl from 'utils/createOgUrl'; +import type {Node} from 'types'; + type Props = { authors: Array, - createLink: Function, + createLink: Function, // TODO: Add better flow type once we Flow-type createLink date?: string, enableScrollSync?: boolean, ogDescription: string, - location: Object, - markdownRemark: Object, - sectionList: Array, + location: Location, + markdownRemark: Node, + sectionList: Array, // TODO: Add better flow type once we have the Section component titlePostfix: string, };