From ccdc29afc0e61d857ff887a61e05e8cdd9507b5a Mon Sep 17 00:00:00 2001 From: bjoernRave Date: Wed, 11 Mar 2020 18:54:52 +0000 Subject: [PATCH] use correct syntax for parameter --- cli/builder.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/builder.js b/cli/builder.js index 3469aa63..26416e86 100755 --- a/cli/builder.js +++ b/cli/builder.js @@ -88,7 +88,7 @@ const namespaces = { ${namespaces .map((ns, i) => `'${ns}': ns${i}`) .join(', ')} } -export default function Page(${isTypeScript ? 'p as any' : 'p'}){ +export default function Page(${isTypeScript ? 'p: any' : 'p'}){ return (