* Prevent infinite recursion resolving conditional types * Use push/popTypeResolution and issue error * Add failing test * Fix the actual problem * Revert unnecessary changes
14 lines
271 B
Plaintext
14 lines
271 B
Plaintext
=== tests/cases/compiler/name.ts ===
|
|
// #31824
|
|
|
|
export type Name<T> = any;
|
|
>Name : any
|
|
|
|
=== tests/cases/compiler/index.ts ===
|
|
type T<X> = any extends ((any extends any ? any : string) extends any ? import("./name").Name<X> : any)
|
|
>T : any
|
|
|
|
? any
|
|
: any;
|
|
|