Files
tsgo/testdata/baselines/reference/submodule/compiler/functionOverloadsOnGenericArity1.js

19 lines
363 B
TypeScript

//// [tests/cases/compiler/functionOverloadsOnGenericArity1.ts] ////
//// [functionOverloadsOnGenericArity1.ts]
// 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;
}
//// [functionOverloadsOnGenericArity1.js]
"use strict";