├── playground
├── input.ts
└── index.js
├── test
├── jsx_simple
│ ├── input.ts
│ └── expected.json
├── export_type_star
│ ├── input.ts
│ └── expected.json
├── jsx_jsx_with_type_generics
│ ├── input.ts
│ └── expected.json
├── satisfies_normal
│ ├── input.ts
│ └── expected.json
├── type_casts_number1_expression
│ ├── input.ts
│ └── expected.json
├── type_casts_number1_label
│ ├── input.ts
│ └── expected.json
├── type_casts_1_as_number_expression
│ ├── input.ts
│ └── expected.json
├── type_casts_1_as_number_label
│ ├── input.ts
│ └── expected.json
├── variables_declaration_any
│ ├── input.ts
│ └── expected.json
├── class_escaped_static_method
│ ├── error.txt
│ └── input.ts
├── normal_export_export_const
│ ├── input.ts
│ └── expected.json
├── normal_syntax_issue_45
│ ├── input.ts
│ └── expected.json
├── type_casts_number1_declaration
│ ├── input.ts
│ └── expected.json
├── variables_declaration_number
│ ├── input.ts
│ └── expected.json
├── variables_declaration_unknown
│ ├── input.ts
│ └── expected.json
├── export_type_export_type
│ ├── input.ts
│ └── expected.json
├── for_async_in_for_of_without_decl
│ ├── error.txt
│ └── input.ts
├── jsx_props_with_expr
│ └── input.ts
├── normal_syntax_import_without_specifiers
│ ├── input.ts
│ └── expected.json
├── type_casts_1_as_number_declaration
│ ├── input.ts
│ └── expected.json
├── variables_declaration_boolean
│ ├── input.ts
│ └── expected.json
├── variables_declaration_number_with_definite
│ ├── input.ts
│ └── expected.json
├── variables_declaration_string
│ ├── input.ts
│ └── expected.json
├── arrow-function_type_test_assignment_pattern
│ ├── input.ts
│ └── expected.json
├── assert_import_with_duplicate
│ ├── error.txt
│ └── input.ts
├── class_definite_property
│ ├── input.ts
│ └── expected.json
├── jsx_value_with_colon
│ └── input.ts
├── variables_declaration_expression_with_paren
│ ├── input.ts
│ └── expected.json
├── variables_declaration_let_union
│ └── input.ts
├── variables_declaration_symbol
│ └── input.ts
├── variables_declaration_undefined
│ ├── input.ts
│ └── expected.json
├── variables_declaration_union
│ └── input.ts
├── arrow-function_type_test_rest_parameter
│ └── input.ts
├── class_escaped_keyword_property
│ ├── input.ts
│ └── expected.json
├── class_no_super_override
│ ├── input.ts
│ └── error.txt
├── for_in_without_decl
│ └── input.ts
├── normal_export_export_default_anonymous_class
│ ├── input.ts
│ └── expected.json
├── normal_syntax_import_default_specifiers
│ ├── input.ts
│ └── expected.json
├── try_statement_normal
│ └── input.ts
├── variables_declaration_bigint
│ └── input.ts
├── variables_declaration_parse_generics_with_comma
│ └── input.ts
├── variables_declaration_parse_generics_without_comma
│ └── input.ts
├── assert_import_assert
│ ├── input.ts
│ └── expected.json
├── assert_import_with
│ ├── input.ts
│ └── expected.json
├── class_duplicate_constructor
│ ├── error.txt
│ └── input.ts
├── class_super_override
│ └── input.ts
├── function_type_test_async_arrow_function_with_one_param
│ ├── input.ts
│ └── expected.json
├── normal_export_export_default_object
│ ├── input.ts
│ └── expected.json
├── normal_identifier_test_typevalue_same_name_1
│ ├── input.ts
│ └── expected.json
├── try_statement_with_type
│ └── input.ts
├── tuple_named_and_anonymous_mixed
│ └── input.ts
├── variables_declaration_parse_condition_express_error
│ ├── input.ts
│ └── error.txt
├── assert_dynamic_import_assert
│ └── input.ts
├── expression_type_test_normal_type
│ └── input.ts
├── normal_identifier_test_import_identifier_as
│ ├── input.ts
│ └── expected.json
├── normal_identifier_test_interface_merging
│ ├── input.ts
│ └── expected.json
├── normal_identifier_test_typeidentifier_same_name_2
│ ├── input.ts
│ └── expected.json
├── normal_syntax_import_name_specifiers
│ ├── input.ts
│ └── expected.json
├── normal_syntax_import_namespace_specifiers
│ ├── input.ts
│ └── expected.json
├── variables_declaration_expression_equal_arrow_function
│ ├── input.ts
│ └── expected.json
├── variables_declaration_expression_equal_function
│ ├── input.ts
│ └── expected.json
├── variables_declaration_object
│ └── input.ts
├── arrow-function_type_test_async_+_rest_parameter
│ └── input.ts
├── assert_export_all_as_assert
│ ├── input.ts
│ └── expected.json
├── class_constructor_signature
│ └── input.ts
├── class_simple_generic
│ └── input.ts
├── expression_type_test_enum
│ ├── input.ts
│ └── expected.json
├── for_of
│ └── input.ts
├── function_type_test_simple_generic
│ └── input.ts
├── namespace_export_type
│ └── input.ts
├── normal_identifier_test_export_identifier_as
│ ├── input.ts
│ └── expected.json
├── normal_syntax_import_name_as_specifiers
│ ├── input.ts
│ └── expected.json
├── object_async_arrow_function_in_subscript
│ └── input.ts
├── function_type_test_no_parameter_with_any
│ ├── input.ts
│ └── expected.json
├── normal_identifier_test_typeidentifier_same_name_3
│ ├── input.ts
│ └── expected.json
├── normal_syntax_import_type_specifier_with_as
│ ├── input.ts
│ └── expected.json
├── type_syntax_import_default_specifiers_with_type_token
│ ├── input.ts
│ └── expected.json
├── arrow-function_type_test_issue_32
│ └── input.ts
├── arrow-function_type_test_simple_generic
│ └── input.ts
├── class_generic_with_const
│ └── input.ts
├── enum_normal
│ └── input.ts
├── function_type_test_generic_with_const
│ └── input.ts
├── function_type_test_no_parameter_with_boolean
│ ├── input.ts
│ └── expected.json
├── function_type_test_no_parameter_with_number
│ ├── input.ts
│ └── expected.json
├── function_type_test_no_parameter_with_string
│ ├── input.ts
│ └── expected.json
├── function_type_test_no_parameter_with_unknown
│ ├── input.ts
│ └── expected.json
├── function_type_test_no_parameter_with_void
│ └── input.ts
├── normal_identifier_test_identifier_multiple_times_error_1
│ ├── input.ts
│ └── error.txt
├── normal_identifier_test_identifier_multiple_times_error_2
│ ├── input.ts
│ └── error.txt
├── type_syntax_import_namespace_specifiers_with_type_token
│ ├── input.ts
│ └── expected.json
├── variables_reassignment_TSNonNullExpression
│ └── input.ts
├── arrow-function_type_test_async_generic_empty_params
│ ├── input.ts
│ └── expected.json
├── export_type_export_outer_type_type_with_name
│ ├── input.ts
│ └── error.txt
├── function_type_test_no_parameter_with_object
│ └── input.ts
├── function_type_test_no_parameter_with_union
│ └── input.ts
├── normal_export_export
│ └── input.ts
├── normal_export_export_default_arrow_function
│ └── input.ts
├── normal_export_export_default_function
│ └── input.ts
├── normal_syntax_import_type_specifier_with_as_as
│ ├── input.ts
│ └── expected.json
├── type_syntax_import_type_specifiers_with_outer_type
│ ├── input.ts
│ └── error.txt
├── variables_declaration_expression_equal_async_arrow_function
│ └── input.ts
├── variables_declaration_expression_equal_async_function
│ └── input.ts
├── variables_declaration_type
│ └── input.ts
├── arrow-function_type_test_generic_with_const
│ └── input.ts
├── class_generic_with_extends
│ └── input.ts
├── export_type_export_type_as_as_with_name
│ └── input.ts
├── function_type_test_arrow_function_with_optional_param
│ └── input.ts
├── function_type_test_generic_with_extends
│ └── input.ts
├── function_type_test_no_parameter_with_bigint
│ └── input.ts
├── function_type_test_no_parameter_with_never
│ └── input.ts
├── function_type_test_no_parameter_with_symbol
│ └── input.ts
├── function_type_test_no_parameter_with_undefined
│ ├── input.ts
│ └── expected.json
├── type_syntax_import_name_as_specifiers_with_type_token
│ ├── input.ts
│ └── expected.json
├── class_class_abstract_method_with_body
│ ├── input.ts
│ └── error.txt
├── class_private_id_class_method
│ └── input.ts
├── export_type_export_type_and_const
│ └── input.ts
├── function_type_test_one_parameter_with_void
│ └── input.ts
├── variables_declaration_identifier_that_could_be_keyword_inside_template_literal
│ └── input.ts
├── arrow-function_type_test_generic_with_extends
│ └── input.ts
├── class_private_class_method
│ └── input.ts
├── class_static_gettersetter
│ └── input.ts
├── export_type_export_serious_type
│ └── input.ts
├── expression_type_test_declare
│ └── input.ts
├── normal_export_export_default_function_with_name
│ └── input.ts
├── normal_syntax_import_namespace_type_specifiers
│ └── input.ts
├── variables_reassignment_TSAsExpression
│ └── input.ts
├── export_type_export_type_type_with_as
│ └── input.ts
├── export_type_export_type_with_as_and_const
│ └── input.ts
├── expression_type_test_normal_interface
│ └── input.ts
├── function_type_test_one_optional_parameter_with_void
│ └── input.ts
├── export_type_export_type_type_with_as_as
│ └── input.ts
├── function_type_test_async_generator_function
│ └── input.ts
├── arrow-function_type_test_issue_39
│ └── input.ts
├── function_type_test_declare_function_comma_after_rest_element
│ └── input.ts
├── object_normal_object
│ └── input.ts
├── arrow-function_type_test_async_generic_after_import
│ └── input.ts
├── class_accessor
│ └── input.ts
├── normal_syntax_import_namespace_type_specifiers_with_as
│ └── input.ts
├── function_type_test_no_parameter_with_type
│ └── input.ts
├── arrow-function_type_test_async_generic_with_commented_import
│ ├── input.ts
│ └── expected.json
├── arrow-function_type_test_destructuring_+_default_value
│ └── input.ts
├── class_static_property
│ └── input.ts
├── try_statement_catch_redeclared_var_statement_captured
│ └── input.ts
├── normal_syntax_import_complex_specifiers
│ └── input.ts
├── variables_declaration_expression_list_arrow_function_and_param_is_function
│ └── input.ts
├── variables_declaration_expression_list_arrow_function_and_var
│ └── input.ts
├── dts_export_type_dts_export_duplicate
│ └── input.ts
├── jsx_issue_46
│ └── input.ts
├── variables_declaration_issue_43
│ └── input.ts
├── function_type_test_declare_function_types
│ └── input.ts
├── decorator_after_interface
│ └── input.ts
├── type_syntax_import_complex_type
│ └── input.ts
├── class_computed_property
│ └── input.ts
├── class_class_duplicate_method
│ └── input.ts
├── expression_type_test_nested_interface
│ └── input.ts
├── decorators_class_params
│ └── input.ts
├── variables_declaration_interface
│ └── input.ts
├── jsx_issue_48
│ └── input.ts
├── class_class_duplicate_constructor
│ └── input.ts
├── class_static_async_methods
│ └── input.ts
├── function_type_test_complex_function
│ └── input.ts
├── arrow-function_type_test_issue_38
│ └── input.ts
├── object_get_and_set_with_this
│ └── input.ts
├── object_get_and_set_without_this
│ └── input.ts
├── decorators_class_property
│ └── input.ts
├── class_issue_42
│ └── input.ts
├── expression_type_test_extend_interface
│ └── input.ts
├── function_type_test_no_parameter_with_interface
│ └── input.ts
├── class_normal_property
│ └── input.ts
├── decorators_class_method
│ └── input.ts
├── class_private_property
│ └── input.ts
├── class_public_property
│ └── input.ts
├── class_readonly_property
│ └── input.ts
├── class_protected_property
│ └── input.ts
├── decorators_class
│ └── input.ts
├── decorators_class_accessor
│ └── input.ts
├── class_issue_44
│ └── input.ts
├── expression_type_test_declare_namespace
│ └── input.ts
├── class_abstract_class
│ └── input.ts
├── dts_expression_type_test_issue_29
│ └── input.ts
├── class_issue_33
│ └── input.ts
├── parseExpressionAt.test.ts
├── jsx_issue_29_jsx
│ └── input.ts
├── jsx_tsx
│ └── input.ts
├── class_issue_34
│ └── input.ts
├── class_issue_36
│ └── input.ts
├── utils.ts
├── class_issue_35
│ └── input.ts
├── run.test.ts
└── plugin.test.ts
├── .npmrc
├── .prettierignore
├── .prettierrc
├── index.d.ts
├── .changeset
├── config.json
└── README.md
├── tsconfig.json
├── src
├── whitespace.ts
├── parseutil.ts
├── types.ts
└── extentions
│ └── import-assertions.ts
├── .github
└── workflows
│ ├── ci.yml
│ └── release.yml
├── LICENSE.md
├── package.json
├── README.md
└── .gitignore
/playground/input.ts:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/test/jsx_simple/input.ts:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/.npmrc:
--------------------------------------------------------------------------------
1 | registry = https://registry.npmjs.org/
2 |
--------------------------------------------------------------------------------
/test/export_type_star/input.ts:
--------------------------------------------------------------------------------
1 | export type * from './foo';
--------------------------------------------------------------------------------
/test/jsx_jsx_with_type_generics/input.ts:
--------------------------------------------------------------------------------
1 |