=== tests/cases/compiler/name.ts === // #31824 export type Name = any; >Name : any === tests/cases/compiler/index.ts === type T = any extends ((any extends any ? any : string) extends any ? import("./name").Name : any) >T : any ? any : any;