From b1be5deb78d73bc6944bd7132785f3aa435e9ff0 Mon Sep 17 00:00:00 2001 From: Joel Chen Date: Fri, 30 Oct 2020 16:42:25 -0700 Subject: [PATCH] [fix] support load argument should be optional --- packages/xarc-app/src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/xarc-app/src/index.ts b/packages/xarc-app/src/index.ts index b86f8588d..eb18e4468 100644 --- a/packages/xarc-app/src/index.ts +++ b/packages/xarc-app/src/index.ts @@ -184,7 +184,7 @@ export function load( /** * support load options or a callback for when support load is done */ - options: XarcSupportOptions + options: XarcSupportOptions = {} ): Promise { if (options.babelRegister) { const babelRegister = optionalRequire("@babel/register");