Skip to content

Commit

Permalink
Add return type
Browse files Browse the repository at this point in the history
  • Loading branch information
kawamataryo committed Mar 28, 2020
1 parent 418d7af commit bb9bf40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/gatsby/src/redux/plugin-runner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ interface ICreatePageAction {
}
}

export const startPluginRunner = () => {
export const startPluginRunner = (): void => {
emitter.on(`CREATE_PAGE`, (action: ICreatePageAction) => {
const page = action.payload
apiRunnerNode(
Expand Down

0 comments on commit bb9bf40

Please sign in to comment.