oxc/crates/oxc_isolated_declarations
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
..
examples feat(codegen)!: new code gen API (#3740) 2024-06-18 15:50:12 +00:00
src fix(isolated_declarations): add mapped-type constraint to the scope (#4037) 2024-07-03 09:45:03 +08:00
tests fix(isolated_declarations): add mapped-type constraint to the scope (#4037) 2024-07-03 09:45:03 +08:00
Cargo.toml Release crates v0.16.3 (#4013) 2024-07-02 12:47:29 +08:00
CHANGELOG.md Release crates v0.16.2 (#3983) 2024-06-30 19:59:15 +08:00