/// //@Filename: file.tsx // @jsx: preserve // @noLib: true //// declare function ComponentSpecific(l: {prop: U}): JSX.Element; //// declare function ComponentSpecific1(l: {prop: U, "ignore-prop": number}): JSX.Element; //// function Bar(arg: T) { //// let a1 = ; // U is number //// let a2 = ; // U is number //// let a3 = ; // U is "hello" //// } verify.quickInfos({ 1: "function ComponentSpecific(l: {\n prop: number;\n}): any", 2: "function ComponentSpecific(l: {\n prop: never;\n}): any" });