<!-- 🚨 STOP 🚨 𝗦𝗧𝗢𝗣 🚨 𝑺𝑻𝑶𝑷 🚨 Half of all issues filed here are duplicates, answered in the FAQ, or not appropriate for the bug tracker. Even if you think you've found a *bug*, please read the FAQ first, especially the Common "Bugs" That Aren't Bugs section! Please help us by doing the following steps before logging an issue: * Search: https://github.com/Microsoft/TypeScript/search?type=Issues * Read the FAQ: https://github.com/Microsoft/TypeScript/wiki/FAQ Please fill in the *entire* template below. --> <!-- Please try to reproduce the issue with `typescript@next`. It may have already been fixed. --> **TypeScript Version:** 3.4.2 <!-- Search terms you tried before logging this (so others can find this issue more easily) --> **Search Terms:** `conditional type` **Code** OK ```ts type F<X> = <T>() => T extends X ? 1 : 2; declare const x: F<any>; const y: F<number> = x; ``` Error ```ts declare const x: <T>() => T extends any ? 1 : 2; const y: <T>() => T extends number ? 1 : 2 = x; ``` **Expected behavior:** The two codes do the same thing **Actual behavior:** Different behavior **Playground Link:** <!-- A link to a TypeScript Playground "Share" link which demonstrates this behavior --> **Related Issues:** <!-- Did you find other bugs that looked similar? -->