oxc/crates
Egor Blinov c043bec674
fix(isolated_declarations): add mapped-type constraint to the scope (#4037)
Fixes https://github.com/oxc-project/oxc/issues/4020

Example:
```ts
import {K} from 'foo'
import {T} from 'bar'

export interface I {
    prop: {[key in K]: T}
}
```

Before:
```ts
import {T} from 'bar'
export interface I {
    prop: {[key in K]: T}
}
```

After:
```ts
import {K} from 'foo'
import {T} from 'bar'
export interface I {
    prop: {[key in K]: T}
}
```

TSC:
```ts
import { K } from 'foo';
import { T } from 'bar';
export interface I {
    prop: {
        [key in K]: T;
    };
}

```
2024-07-03 09:45:03 +08:00
..
oxc Release crates v0.16.3 (#4013) 2024-07-02 12:47:29 +08:00
oxc_allocator Release crates v0.16.3 (#4013) 2024-07-02 12:47:29 +08:00
oxc_ast fix(isolated-declarations): method following an abstract method gets dropped (#4024) 2024-07-02 13:47:26 +00:00
oxc_ast_macros feat(ast_codegen): introduce the #[span] hint. (#4012) 2024-07-02 10:18:58 +00:00
oxc_cfg Release crates v0.16.3 (#4013) 2024-07-02 12:47:29 +08:00
oxc_codegen fix(codegen): missing const keyword in TSTypeParamter (#4022) 2024-07-02 13:47:24 +00:00
oxc_diagnostics Release crates v0.16.3 (#4013) 2024-07-02 12:47:29 +08:00
oxc_index Release crates v0.16.3 (#4013) 2024-07-02 12:47:29 +08:00
oxc_isolated_declarations fix(isolated_declarations): add mapped-type constraint to the scope (#4037) 2024-07-03 09:45:03 +08:00
oxc_js_regex
oxc_language_server
oxc_linter Release oxlint v0.6.0 (#4029) 2024-07-02 22:07:52 +08:00
oxc_macros chore: do not compile test crates that have no tests 2024-06-24 00:20:04 +08:00
oxc_minifier improvement(ast): generate visit_mut.rs. (#4007) 2024-07-02 10:18:51 +00:00
oxc_module_lexer Release crates v0.16.3 (#4013) 2024-07-02 12:47:29 +08:00
oxc_parser refactor(parser): use function instead of trait to parse list with rest element (#4028) 2024-07-02 13:43:14 +00:00
oxc_prettier feat(ast,codegen): add TSParenthesizedType and print type parentheses correctly (#3979) 2024-06-30 07:57:48 +00:00
oxc_semantic refactor(ast)!: rename visit_enum_memeber to visit_ts_enum_member. (#4000) 2024-07-02 10:05:42 +00:00
oxc_sourcemap Release crates v0.16.3 (#4013) 2024-07-02 12:47:29 +08:00
oxc_span Release crates v0.16.3 (#4013) 2024-07-02 12:47:29 +08:00
oxc_syntax Release crates v0.16.3 (#4013) 2024-07-02 12:47:29 +08:00
oxc_transformer improvement(ast): generate visit_mut.rs. (#4007) 2024-07-02 10:18:51 +00:00
oxc_traverse refactor(ast)!: rename visit_enum to visit_ts_enum_declaration. (#3998) 2024-07-02 09:56:15 +00:00
oxc_wasm refactor(transformer): pass in symbols and scopes (#3978) 2024-06-30 06:33:48 +00:00