21 lines
521 B
Plaintext
21 lines
521 B
Plaintext
|
=== tests/cases/compiler/functionOverloadsOnGenericArity2.ts ===
|
||
|
interface I {
|
||
|
>I : I
|
||
|
|
||
|
then(p: string): string;
|
||
|
>then : { (p: string): string; <U>(p: string): string; <U, T>(p: string): Date; }
|
||
|
>p : string
|
||
|
|
||
|
then<U>(p: string): string;
|
||
|
>then : { (p: string): string; <U>(p: string): string; <U, T>(p: string): Date; }
|
||
|
>U : U
|
||
|
>p : string
|
||
|
|
||
|
then<U, T>(p: string): Date;
|
||
|
>then : { (p: string): string; <U>(p: string): string; <U, T>(p: string): Date; }
|
||
|
>U : U
|
||
|
>T : T
|
||
|
>p : string
|
||
|
>Date : Date
|
||
|
}
|