From f294796b6d2c39605b8c08ee4d1ed8f0e39b8d3f Mon Sep 17 00:00:00 2001 From: atomicpages Date: Sun, 30 Aug 2020 20:26:07 -0700 Subject: [PATCH] fix(:bug:) bad type annotation --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 6ac74a6..afb1cd2 100644 --- a/src/index.ts +++ b/src/index.ts @@ -85,7 +85,7 @@ export default function plugin( }) ).filter(Boolean); }, - async contentLoaded({ content, actions }): void { + async contentLoaded({ content, actions }): Promise { const re = /\.[jt]sx?/gi; const { createData, setGlobalData, addRoute } = actions;