Skip to content

Commit

Permalink
docs: tweak typing example
Browse files Browse the repository at this point in the history
  • Loading branch information
tgallacher committed Sep 8, 2019
1 parent 2b975d3 commit d454393
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,10 +123,10 @@ const BlogPostTemplate = ({ data, pageContext }) => {
};
```

The `changelog` prop has the following type signature:
The `changelog` _pageContext_ prop has the following type signature:

```ts
type ChangeLog = Commit[]; // Empty array, or array of Commit objects
const changelog: Commit[]; // Empty array, or array of Commit objects

// Commit object
interface Commit {
Expand Down

0 comments on commit d454393

Please sign in to comment.