DEBSOURCES
Skip Quicknav
sources / node-typescript / 5.0.4%2Bds1-2 / tests / cases / compiler / conditionalTypeAnyUnion.ts
12345678
// repro from #52568 type Spec = any extends object ? any : string; type WithSpec<T extends number> = T type R = WithSpec<Spec> // should not error