Skip to content

Commit

Permalink
fix(:bug:) bad type annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
atomicpages committed Aug 31, 2020
1 parent 699b535 commit f294796
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ export default function plugin(
})
).filter(Boolean);
},
async contentLoaded({ content, actions }): void {
async contentLoaded({ content, actions }): Promise<void> {
const re = /\.[jt]sx?/gi;
const { createData, setGlobalData, addRoute } = actions;

Expand Down

0 comments on commit f294796

Please sign in to comment.