oxc/crates
DonIsaac e386b62331 feat(semantic): check for invalid type import assignments (#4097)
Adds checks to `TSImportEqualsDeclaration` for invalid use of `import type` modifier.

```ts
import { Foo } from './foo'
namespace Bar {
  export class Baz {}
}

import type A = Foo.Baz;        // not allowed
import type B = Bar.Baz;        // not allowed
import type C = require('./c'); // allowed
```
2024-07-08 03:14:22 +00:00
..
oxc Release crates v0.17.1 (#4075) 2024-07-07 01:29:52 +08:00
oxc_allocator Release crates v0.17.1 (#4075) 2024-07-07 01:29:52 +08:00
oxc_ast feat(semantic): check for invalid type import assignments (#4097) 2024-07-08 03:14:22 +00:00
oxc_ast_macros Release crates v0.17.1 (#4075) 2024-07-07 01:29:52 +08:00
oxc_cfg Release crates v0.17.1 (#4075) 2024-07-07 01:29:52 +08:00
oxc_codegen fix(codegen): 256 indentations level is not enough for codegen 2024-07-08 00:25:37 +08:00
oxc_diagnostics Release crates v0.17.1 (#4075) 2024-07-07 01:29:52 +08:00
oxc_index Release crates v0.17.1 (#4075) 2024-07-07 01:29:52 +08:00
oxc_isolated_declarations fix(isolated_declarations): Remove nested AssignmentPatterns from inside parameters (#4077) 2024-07-08 11:06:26 +08:00
oxc_js_regex chore: crates should only publish src and examples directory 2024-06-08 16:35:16 +08:00
oxc_language_server refactor(linter): LintContext can now only be constructed with a cfg enabled semantic. (#3761) 2024-06-19 13:01:33 +00:00
oxc_linter fix(linter): incorrect fix in no-single-promise-in-promise-methods rule; (#4094) 2024-07-08 02:34:19 +00:00
oxc_macros chore: do not compile test crates that have no tests 2024-06-24 00:20:04 +08:00
oxc_minifier Release crates v0.17.1 (#4075) 2024-07-07 01:29:52 +08:00
oxc_module_lexer Release crates v0.17.1 (#4075) 2024-07-07 01:29:52 +08:00
oxc_parser Release crates v0.17.1 (#4075) 2024-07-07 01:29:52 +08:00
oxc_prettier feat(ast,codegen): add TSParenthesizedType and print type parentheses correctly (#3979) 2024-06-30 07:57:48 +00:00
oxc_semantic feat(semantic): check for invalid type import assignments (#4097) 2024-07-08 03:14:22 +00:00
oxc_sourcemap Release crates v0.17.1 (#4075) 2024-07-07 01:29:52 +08:00
oxc_span Release crates v0.17.1 (#4075) 2024-07-07 01:29:52 +08:00
oxc_syntax Release crates v0.17.1 (#4075) 2024-07-07 01:29:52 +08:00
oxc_transformer Release crates v0.17.1 (#4075) 2024-07-07 01:29:52 +08:00
oxc_traverse Release crates v0.17.1 (#4075) 2024-07-07 01:29:52 +08:00
oxc_wasm refactor(transformer): pass in symbols and scopes (#3978) 2024-06-30 06:33:48 +00:00