JsModule { bom_token: missing (optional), interpreter_token: missing (optional), directives: JsDirectiveList [], items: JsModuleItemList [ TsDeclareFunctionDeclaration { async_token: missing (optional), function_token: FUNCTION_KW@0..9 "function" [] [Whitespace(" ")], id: JsIdentifierBinding { name_token: IDENT@9..10 "a" [] [], }, type_parameters: missing (optional), parameters: JsParameters { l_paren_token: L_PAREN@10..11 "(" [] [], items: JsParameterList [ JsRestParameter { decorators: JsDecoratorList [], dotdotdot_token: DOT3@11..14 "..." [] [], binding: JsIdentifierBinding { name_token: IDENT@14..23 "arguments" [] [], }, type_annotation: TsTypeAnnotation { colon_token: COLON@23..25 ":" [] [Whitespace(" ")], ty: TsArrayType { element_type: TsAnyType { any_token: ANY_KW@25..28 "any" [] [], }, l_brack_token: L_BRACK@28..29 "[" [] [], r_brack_token: R_BRACK@29..30 "]" [] [], }, }, }, ], r_paren_token: R_PAREN@30..31 ")" [] [], }, return_type_annotation: TsReturnTypeAnnotation { colon_token: COLON@31..33 ":" [] [Whitespace(" ")], ty: TsVoidType { void_token: VOID_KW@33..37 "void" [] [], }, }, semicolon_token: SEMICOLON@37..38 ";" [] [], }, ], eof_token: EOF@38..39 "" [Newline("\n")] [], } 0: JS_MODULE@0..39 0: (empty) 1: (empty) 2: JS_DIRECTIVE_LIST@0..0 3: JS_MODULE_ITEM_LIST@0..38 0: TS_DECLARE_FUNCTION_DECLARATION@0..38 0: (empty) 1: FUNCTION_KW@0..9 "function" [] [Whitespace(" ")] 2: JS_IDENTIFIER_BINDING@9..10 0: IDENT@9..10 "a" [] [] 3: (empty) 4: JS_PARAMETERS@10..31 0: L_PAREN@10..11 "(" [] [] 1: JS_PARAMETER_LIST@11..30 0: JS_REST_PARAMETER@11..30 0: JS_DECORATOR_LIST@11..11 1: DOT3@11..14 "..." [] [] 2: JS_IDENTIFIER_BINDING@14..23 0: IDENT@14..23 "arguments" [] [] 3: TS_TYPE_ANNOTATION@23..30 0: COLON@23..25 ":" [] [Whitespace(" ")] 1: TS_ARRAY_TYPE@25..30 0: TS_ANY_TYPE@25..28 0: ANY_KW@25..28 "any" [] [] 1: L_BRACK@28..29 "[" [] [] 2: R_BRACK@29..30 "]" [] [] 2: R_PAREN@30..31 ")" [] [] 5: TS_RETURN_TYPE_ANNOTATION@31..37 0: COLON@31..33 ":" [] [Whitespace(" ")] 1: TS_VOID_TYPE@33..37 0: VOID_KW@33..37 "void" [] [] 6: SEMICOLON@37..38 ";" [] [] 4: EOF@38..39 "" [Newline("\n")] []