TypeScript/tests/cases/compiler/tooManyTypeParameters1.ts

11 lines
179 B
TypeScript
Raw Normal View History

2014-07-13 01:04:16 +02:00
function f<T>() { }
f<string, string>();
var x = <T>() => {};
x<number,number>();
class C<T> {}
var c = new C<Date,Date>();
interface I<T> {}
var i: I<number,number>;