TypeScript/tests/cases/compiler/functionOverloadsOnGenericArity1.ts
2014-07-12 17:30:19 -07:00

12 lines
195 B
TypeScript

// 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;
}