JsModule { bom_token: missing (optional), interpreter_token: missing (optional), directives: JsDirectiveList [], items: JsModuleItemList [ JsVariableStatement { declaration: JsVariableDeclaration { await_token: missing (optional), kind: LET_KW@0..4 "let" [] [Whitespace(" ")], declarators: JsVariableDeclaratorList [ JsVariableDeclarator { id: JsIdentifierBinding { name_token: IDENT@4..5 "a" [] [], }, variable_annotation: missing (optional), initializer: missing (optional), }, COMMA@5..7 "," [] [Whitespace(" ")], JsVariableDeclarator { id: JsIdentifierBinding { name_token: IDENT@7..8 "b" [] [], }, variable_annotation: missing (optional), initializer: missing (optional), }, COMMA@8..10 "," [] [Whitespace(" ")], JsVariableDeclarator { id: JsIdentifierBinding { name_token: IDENT@10..11 "c" [] [], }, variable_annotation: missing (optional), initializer: missing (optional), }, ], }, semicolon_token: SEMICOLON@11..12 ";" [] [], }, JsBogusStatement { items: [ JsDecoratorList [], EXPORT_KW@12..20 "export" [Newline("\n")] [Whitespace(" ")], JsBogus { items: [ TYPE_KW@20..25 "type" [] [Whitespace(" ")], L_CURLY@25..27 "{" [] [Whitespace(" ")], JsExportNamedSpecifierList [ JsExportNamedShorthandSpecifier { type_token: missing (optional), name: JsReferenceIdentifier { value_token: IDENT@27..29 "a" [] [Whitespace(" ")], }, }, ], R_CURLY@29..30 "}" [] [], SEMICOLON@30..31 ";" [] [], ], }, ], }, JsBogusStatement { items: [ JsDecoratorList [], EXPORT_KW@31..39 "export" [Newline("\n")] [Whitespace(" ")], JsBogus { items: [ L_CURLY@39..41 "{" [] [Whitespace(" ")], JsBogus { items: [ JsBogus { items: [ TYPE_KW@41..46 "type" [] [Whitespace(" ")], JsReferenceIdentifier { value_token: IDENT@46..48 "b" [] [Whitespace(" ")], }, ], }, ], }, R_CURLY@48..49 "}" [] [], SEMICOLON@49..50 ";" [] [], ], }, ], }, JsBogusStatement { items: [ JsDecoratorList [], EXPORT_KW@50..58 "export" [Newline("\n")] [Whitespace(" ")], JsBogus { items: [ L_CURLY@58..60 "{" [] [Whitespace(" ")], JsBogus { items: [ JsBogus { items: [ TYPE_KW@60..65 "type" [] [Whitespace(" ")], JsReferenceIdentifier { value_token: IDENT@65..67 "c" [] [Whitespace(" ")], }, AS_KW@67..70 "as" [] [Whitespace(" ")], JsLiteralExportName { value: IDENT@70..73 "cc" [] [Whitespace(" ")], }, ], }, ], }, R_CURLY@73..74 "}" [] [], SEMICOLON@74..75 ";" [] [], ], }, ], }, JsBogusStatement { items: [ JsDecoratorList [], EXPORT_KW@75..83 "export" [Newline("\n")] [Whitespace(" ")], JsBogus { items: [ TYPE_KW@83..88 "type" [] [Whitespace(" ")], L_CURLY@88..90 "{" [] [Whitespace(" ")], JsExportNamedFromSpecifierList [ JsExportNamedFromSpecifier { type_token: missing (optional), source_name: JsLiteralExportName { value: IDENT@90..92 "d" [] [Whitespace(" ")], }, export_as: missing (optional), }, ], R_CURLY@92..94 "}" [] [Whitespace(" ")], FROM_KW@94..99 "from" [] [Whitespace(" ")], JsModuleSource { value_token: JS_STRING_LITERAL@99..104 "\"./d\"" [] [], }, SEMICOLON@104..105 ";" [] [], ], }, ], }, JsBogusStatement { items: [ JsDecoratorList [], EXPORT_KW@105..113 "export" [Newline("\n")] [Whitespace(" ")], JsBogus { items: [ L_CURLY@113..115 "{" [] [Whitespace(" ")], JsBogus { items: [ JsBogus { items: [ TYPE_KW@115..120 "type" [] [Whitespace(" ")], JsLiteralExportName { value: IDENT@120..122 "e" [] [Whitespace(" ")], }, ], }, ], }, R_CURLY@122..124 "}" [] [Whitespace(" ")], FROM_KW@124..129 "from" [] [Whitespace(" ")], JsModuleSource { value_token: JS_STRING_LITERAL@129..134 "\"./e\"" [] [], }, SEMICOLON@134..135 ";" [] [], ], }, ], }, JsBogusStatement { items: [ JsDecoratorList [], EXPORT_KW@135..143 "export" [Newline("\n")] [Whitespace(" ")], JsBogus { items: [ L_CURLY@143..145 "{" [] [Whitespace(" ")], JsBogus { items: [ JsBogus { items: [ TYPE_KW@145..150 "type" [] [Whitespace(" ")], JsLiteralExportName { value: IDENT@150..152 "e" [] [Whitespace(" ")], }, JsExportAsClause { as_token: AS_KW@152..155 "as" [] [Whitespace(" ")], exported_name: JsLiteralExportName { value: IDENT@155..158 "ee" [] [Whitespace(" ")], }, }, ], }, ], }, R_CURLY@158..160 "}" [] [Whitespace(" ")], FROM_KW@160..165 "from" [] [Whitespace(" ")], JsModuleSource { value_token: JS_STRING_LITERAL@165..170 "\"./e\"" [] [], }, SEMICOLON@170..171 ";" [] [], ], }, ], }, ], eof_token: EOF@171..172 "" [Newline("\n")] [], } 0: JS_MODULE@0..172 0: (empty) 1: (empty) 2: JS_DIRECTIVE_LIST@0..0 3: JS_MODULE_ITEM_LIST@0..171 0: JS_VARIABLE_STATEMENT@0..12 0: JS_VARIABLE_DECLARATION@0..11 0: (empty) 1: LET_KW@0..4 "let" [] [Whitespace(" ")] 2: JS_VARIABLE_DECLARATOR_LIST@4..11 0: JS_VARIABLE_DECLARATOR@4..5 0: JS_IDENTIFIER_BINDING@4..5 0: IDENT@4..5 "a" [] [] 1: (empty) 2: (empty) 1: COMMA@5..7 "," [] [Whitespace(" ")] 2: JS_VARIABLE_DECLARATOR@7..8 0: JS_IDENTIFIER_BINDING@7..8 0: IDENT@7..8 "b" [] [] 1: (empty) 2: (empty) 3: COMMA@8..10 "," [] [Whitespace(" ")] 4: JS_VARIABLE_DECLARATOR@10..11 0: JS_IDENTIFIER_BINDING@10..11 0: IDENT@10..11 "c" [] [] 1: (empty) 2: (empty) 1: SEMICOLON@11..12 ";" [] [] 1: JS_BOGUS_STATEMENT@12..31 0: JS_DECORATOR_LIST@12..12 1: EXPORT_KW@12..20 "export" [Newline("\n")] [Whitespace(" ")] 2: JS_BOGUS@20..31 0: TYPE_KW@20..25 "type" [] [Whitespace(" ")] 1: L_CURLY@25..27 "{" [] [Whitespace(" ")] 2: JS_EXPORT_NAMED_SPECIFIER_LIST@27..29 0: JS_EXPORT_NAMED_SHORTHAND_SPECIFIER@27..29 0: (empty) 1: JS_REFERENCE_IDENTIFIER@27..29 0: IDENT@27..29 "a" [] [Whitespace(" ")] 3: R_CURLY@29..30 "}" [] [] 4: SEMICOLON@30..31 ";" [] [] 2: JS_BOGUS_STATEMENT@31..50 0: JS_DECORATOR_LIST@31..31 1: EXPORT_KW@31..39 "export" [Newline("\n")] [Whitespace(" ")] 2: JS_BOGUS@39..50 0: L_CURLY@39..41 "{" [] [Whitespace(" ")] 1: JS_BOGUS@41..48 0: JS_BOGUS@41..48 0: TYPE_KW@41..46 "type" [] [Whitespace(" ")] 1: JS_REFERENCE_IDENTIFIER@46..48 0: IDENT@46..48 "b" [] [Whitespace(" ")] 2: R_CURLY@48..49 "}" [] [] 3: SEMICOLON@49..50 ";" [] [] 3: JS_BOGUS_STATEMENT@50..75 0: JS_DECORATOR_LIST@50..50 1: EXPORT_KW@50..58 "export" [Newline("\n")] [Whitespace(" ")] 2: JS_BOGUS@58..75 0: L_CURLY@58..60 "{" [] [Whitespace(" ")] 1: JS_BOGUS@60..73 0: JS_BOGUS@60..73 0: TYPE_KW@60..65 "type" [] [Whitespace(" ")] 1: JS_REFERENCE_IDENTIFIER@65..67 0: IDENT@65..67 "c" [] [Whitespace(" ")] 2: AS_KW@67..70 "as" [] [Whitespace(" ")] 3: JS_LITERAL_EXPORT_NAME@70..73 0: IDENT@70..73 "cc" [] [Whitespace(" ")] 2: R_CURLY@73..74 "}" [] [] 3: SEMICOLON@74..75 ";" [] [] 4: JS_BOGUS_STATEMENT@75..105 0: JS_DECORATOR_LIST@75..75 1: EXPORT_KW@75..83 "export" [Newline("\n")] [Whitespace(" ")] 2: JS_BOGUS@83..105 0: TYPE_KW@83..88 "type" [] [Whitespace(" ")] 1: L_CURLY@88..90 "{" [] [Whitespace(" ")] 2: JS_EXPORT_NAMED_FROM_SPECIFIER_LIST@90..92 0: JS_EXPORT_NAMED_FROM_SPECIFIER@90..92 0: (empty) 1: JS_LITERAL_EXPORT_NAME@90..92 0: IDENT@90..92 "d" [] [Whitespace(" ")] 2: (empty) 3: R_CURLY@92..94 "}" [] [Whitespace(" ")] 4: FROM_KW@94..99 "from" [] [Whitespace(" ")] 5: JS_MODULE_SOURCE@99..104 0: JS_STRING_LITERAL@99..104 "\"./d\"" [] [] 6: SEMICOLON@104..105 ";" [] [] 5: JS_BOGUS_STATEMENT@105..135 0: JS_DECORATOR_LIST@105..105 1: EXPORT_KW@105..113 "export" [Newline("\n")] [Whitespace(" ")] 2: JS_BOGUS@113..135 0: L_CURLY@113..115 "{" [] [Whitespace(" ")] 1: JS_BOGUS@115..122 0: JS_BOGUS@115..122 0: TYPE_KW@115..120 "type" [] [Whitespace(" ")] 1: JS_LITERAL_EXPORT_NAME@120..122 0: IDENT@120..122 "e" [] [Whitespace(" ")] 2: R_CURLY@122..124 "}" [] [Whitespace(" ")] 3: FROM_KW@124..129 "from" [] [Whitespace(" ")] 4: JS_MODULE_SOURCE@129..134 0: JS_STRING_LITERAL@129..134 "\"./e\"" [] [] 5: SEMICOLON@134..135 ";" [] [] 6: JS_BOGUS_STATEMENT@135..171 0: JS_DECORATOR_LIST@135..135 1: EXPORT_KW@135..143 "export" [Newline("\n")] [Whitespace(" ")] 2: JS_BOGUS@143..171 0: L_CURLY@143..145 "{" [] [Whitespace(" ")] 1: JS_BOGUS@145..158 0: JS_BOGUS@145..158 0: TYPE_KW@145..150 "type" [] [Whitespace(" ")] 1: JS_LITERAL_EXPORT_NAME@150..152 0: IDENT@150..152 "e" [] [Whitespace(" ")] 2: JS_EXPORT_AS_CLAUSE@152..158 0: AS_KW@152..155 "as" [] [Whitespace(" ")] 1: JS_LITERAL_EXPORT_NAME@155..158 0: IDENT@155..158 "ee" [] [Whitespace(" ")] 2: R_CURLY@158..160 "}" [] [Whitespace(" ")] 3: FROM_KW@160..165 "from" [] [Whitespace(" ")] 4: JS_MODULE_SOURCE@165..170 0: JS_STRING_LITERAL@165..170 "\"./e\"" [] [] 5: SEMICOLON@170..171 ";" [] [] 4: EOF@171..172 "" [Newline("\n")] [] -- ts_export_syntax_in_js.js:2:8 parse ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ × 'export type' declarations are a TypeScript only feature. Convert your file to a TypeScript file or remove the syntax. 1 │ let a, b, c; > 2 │ export type { a }; │ ^^^^^^^^^^^ 3 │ export { type b }; 4 │ export { type c as cc }; i TypeScript only syntax -- ts_export_syntax_in_js.js:3:10 parse ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ × export { type ident }' are a TypeScript only feature. Convert your file to a TypeScript file or remove the syntax. 1 │ let a, b, c; 2 │ export type { a }; > 3 │ export { type b }; │ ^^^^^^ 4 │ export { type c as cc }; 5 │ export type { d } from "./d"; i TypeScript only syntax -- ts_export_syntax_in_js.js:4:10 parse ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ × export { type ident }' are a TypeScript only feature. Convert your file to a TypeScript file or remove the syntax. 2 │ export type { a }; 3 │ export { type b }; > 4 │ export { type c as cc }; │ ^^^^^^^^^^^^ 5 │ export type { d } from "./d"; 6 │ export { type e } from "./e"; i TypeScript only syntax -- ts_export_syntax_in_js.js:5:8 parse ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ × 'export type' declarations are a TypeScript only feature. Convert your file to a TypeScript file or remove the syntax. 3 │ export { type b }; 4 │ export { type c as cc }; > 5 │ export type { d } from "./d"; │ ^^^^^^^^^^^^^^^^^^^^^^ 6 │ export { type e } from "./e"; 7 │ export { type e as ee } from "./e"; i TypeScript only syntax -- ts_export_syntax_in_js.js:6:10 parse ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ × export { type ident }'' are a TypeScript only feature. Convert your file to a TypeScript file or remove the syntax. 4 │ export { type c as cc }; 5 │ export type { d } from "./d"; > 6 │ export { type e } from "./e"; │ ^^^^^^ 7 │ export { type e as ee } from "./e"; 8 │ i TypeScript only syntax -- ts_export_syntax_in_js.js:7:10 parse ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ × export { type ident }'' are a TypeScript only feature. Convert your file to a TypeScript file or remove the syntax. 5 │ export type { d } from "./d"; 6 │ export { type e } from "./e"; > 7 │ export { type e as ee } from "./e"; │ ^^^^^^^^^^^^ 8 │ i TypeScript only syntax -- let a, b, c; export type { a }; export { type b }; export { type c as cc }; export type { d } from "./d"; export { type e } from "./e"; export { type e as ee } from "./e";