Remove ambient_namespace_element from tests
@@ -52,26 +52,22 @@ declare class Greeter {
(ambient_namespace
(identifier)
(ambient_namespace_body
- (ambient_namespace_element
(ambient_function
(identifier)
(call_signature
(formal_parameters (required_parameter (identifier) (type_annotation (predefined_type))))
- (type_annotation (predefined_type)))))
- (ambient_namespace_element
- (lexical_declaration (variable_declarator (identifier) (type_annotation (predefined_type)))))
- (ambient_namespace_element
+ (type_annotation (predefined_type))))
+ (lexical_declaration (variable_declarator (identifier) (type_annotation (predefined_type))))
(interface_declaration
(identifier)
(object_type
- (property_signature (identifier) (type_annotation (predefined_type))))))
- (ambient_namespace_element
+ (property_signature (identifier) (type_annotation (predefined_type)))))
(interface_declaration
(identifier)
(object_type
(property_signature (identifier) (type_annotation (predefined_type)))
(property_signature (identifier) (type_annotation (predefined_type)))
- (property_signature (identifier) (type_annotation (predefined_type)))))))))
+ (property_signature (identifier) (type_annotation (predefined_type))))))))
(ambient_declaration
(class
@@ -309,5 +305,10 @@ declare namespace moment {
(ambient_namespace
(identifier)
(ambient_namespace_body
- (ambient_namespace_element (type_alias_declaration (identifier) (function_type (formal_parameters) (predefined_type)))) (ambient_namespace_element (ambient_export_declaration (ambient_variable (ambient_binding (identifier) (type_annotation (predefined_type)))))) (ambient_namespace_element (ambient_export_declaration (class (identifier) (class_body)))) (ambient_namespace_element (ambient_export_declaration (ambient_function (identifier) (call_signature (formal_parameters) (type_annotation (type_reference (identifier))))))) (ambient_namespace_element (ambient_export_declaration (enum_declaration (identifier) (identifier) (identifier) (identifier))))))))
+ (type_alias_declaration (identifier) (function_type (formal_parameters) (predefined_type)))
+ (ambient_export_declaration (ambient_variable (ambient_binding (identifier) (type_annotation (predefined_type)))))
+ (ambient_export_declaration (class (identifier) (class_body)))
+ (ambient_export_declaration
+ (ambient_function (identifier) (call_signature (formal_parameters) (type_annotation (type_reference (identifier))))))
+ (ambient_export_declaration (enum_declaration (identifier) (identifier) (identifier) (identifier)))))))
