Skip to content

Commit

Permalink
[fix] support load argument should be optional
Browse files Browse the repository at this point in the history
  • Loading branch information
jchip committed Oct 30, 2020
1 parent 3e6ff20 commit b1be5de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/xarc-app/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ export function load(
/**
* support load options or a callback for when support load is done
*/
options: XarcSupportOptions
options: XarcSupportOptions = {}
): Promise<any> {
if (options.babelRegister) {
const babelRegister = optionalRequire("@babel/register");
Expand Down

0 comments on commit b1be5de

Please sign in to comment.