-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(es/resolver): Reset
in_type
flag correctly (#6597)
- Loading branch information
Showing
3 changed files
with
15 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 7 additions & 0 deletions
7
crates/swc_ecma_transforms_base/tests/ts-resolver/issues/6533/input.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import * as F from "foo"; | ||
import type { Thing } from "anywhere"; | ||
console.log(F) | ||
|
||
export const inner = <F>(a: F) => { | ||
console.log(F) | ||
}; |
6 changes: 6 additions & 0 deletions
6
crates/swc_ecma_transforms_base/tests/ts-resolver/issues/6533/output.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import * as F__1 from "foo"; | ||
import { Thing__1 } from "anywhere"; | ||
console.log(F__1); | ||
export const inner__1 = <F__3>(a__3: F__3)=>{ | ||
console.log(F__1); | ||
}; |