prettier/tests/typescript/compiler/functionOverloadsOnGenericA...

12 lines
184 B
TypeScript
Raw Normal View History

2018-12-08 13:28:29 +03:00
// overloading on arity not allowed
interface C {
f<T>(): string;
f<T, U>(): string;
<T>(): string;
<T, U>(): string;
new <T>(): string;
new <T, U>(): string;
}