JsModule { bom_token: missing (optional), interpreter_token: missing (optional), directives: JsDirectiveList [], items: JsModuleItemList [ JsExpressionStatement { expression: JsImportCallExpression { import_token: IMPORT_KW@0..6 "import" [] [], l_paren_token: L_PAREN@6..7 "(" [] [], argument: missing (required), r_paren_token: R_PAREN@7..8 ")" [] [], }, semicolon_token: missing (optional), }, ], eof_token: EOF@8..9 "" [Newline("\n")] [], } 0: JS_MODULE@0..9 0: (empty) 1: (empty) 2: JS_DIRECTIVE_LIST@0..0 3: JS_MODULE_ITEM_LIST@0..8 0: JS_EXPRESSION_STATEMENT@0..8 0: JS_IMPORT_CALL_EXPRESSION@0..8 0: IMPORT_KW@0..6 "import" [] [] 1: L_PAREN@6..7 "(" [] [] 2: (empty) 3: R_PAREN@7..8 ")" [] [] 1: (empty) 4: EOF@8..9 "" [Newline("\n")] [] -- error[SyntaxError]: expected an expression, or an assignment but instead found ')' ┌─ import_call.js:1:8 │ 1 │ import() │ ^ Expected an expression, or an assignment here -- import()